Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Persist data with firebase web

Tags:

firebase

I have built an application with Firebase and I've also made a desktop version available with nw.js. The point of this being to allow for better offline usage in areas with bad or no internet (and it will sync when the user gets internet again). Now, I can disconnect just fine and reconnect while the app is running, but I want to be able to fully close and reload the application. I've seen this blog post from firebase, but it appears this only works for mobile platforms.

Is this currently possible on the web platform, too?

like image 989
Seiyria Avatar asked Feb 19 '26 19:02

Seiyria


1 Answers

All Firebase SDKs will handle intermittent loss of connectivity (driving through a tunnel). But disk based persistence, which allows the data to survive an app restart, is currently only available in Firebase's iOS and Android SDKs.

like image 167
Frank van Puffelen Avatar answered Feb 21 '26 14:02

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!