3 ms·
So, Still no offline persistence for JS. What a huge disappointment.
by Blixz 10y ago
So, Still no offline persistence for JS. What a huge disappointment.
- EuAndreh 10y agoYep, no way close to PouchDB.
- pier25 10y agoAre you sure? They seem to advertise offline persistence for both mobile and web. https://firebase.google.com/docs/database/#key_functions https://firebase.google.com/docs/database/#key_functions
- mbleigh 10y agoCheck out my I/O talk on Friday (Progressive Web Apps on Firebase). While the Firebase Web SDK doesn't support persistent offline just yet, we do have some new ways to get the job done. https://events.google.com/io2016/schedule?filters=Firebase&sid=ff641ff7-0bef-e511-a517-00155d5066d7#day3/ff641ff7-0bef-e511-a517-00155d5066d7 https://events.google.com/io2016/schedule?filters=Firebase&s...
- pier25 10y agoUm... what about this? https://firebase.google.com/docs/database/web/offline-capabilities#section-presence https://firebase.google.com/docs/database/web/offline-capabi...
- mbleigh 10y agoThe Firebase JS SDK currently supports non-persistent offline. So long as you keep the tab open, Firebase works great offline! However, if you go offline and then try to refresh the content, none of it will be persistently stored or accessible until you go back online.
- pier25 10y agoThanks for the clarification. I was hoping to use Firebase on a React Native app but I do need persistence. Do you have or plan to make some wrapper of the native iOS/Android SDKs for React Native?