Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Offline capabilities for Firebase database #61

Closed
jlooper opened this issue Jun 22, 2016 · 3 comments
Closed

Offline capabilities for Firebase database #61

jlooper opened this issue Jun 22, 2016 · 3 comments

Comments

@jlooper
Copy link
Contributor

jlooper commented Jun 22, 2016

According to the Firebase docs, you can set up Offline capabilities for your database like thus: https://firebase.google.com/docs/database/web/offline-capabilities
https://firebase.google.com/docs/database/android/offline-capabilities

We already have the ability to set the Persistence (setPersistenceEnabled) I believe; we just would need to use the keepSynched flag and handle data sync on the client side. A nice enhancement!

thanks!
Jen

@EddyVerbruggen
Copy link
Owner

That sounds sweet. setPersistenceEnabled is a global property though and this one is for a specific branch (which can be the root of course, lol). So it's a bit more work but compared to Facebook auth and push notifications it's a walk in the park 🌲 🌳

@EddyVerbruggen
Copy link
Owner

Version 3.4.1 of this plugin added keepInSync.

It's a bit hard to demo this feature but I'm sure you'll find a good usecase for it.

@jlooper
Copy link
Contributor Author

jlooper commented Jul 12, 2016

Looks super useful! Look @tjvantoll, offline sync!

Repository owner deleted a comment from ChirantanPatel Mar 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants