3 ms·
Just use Firebase (firestore) ... It's got: offline first, latency compensation, pubsub, partial sync, authorization rules and serverside timestamps, and globa
by tlarkworthy 5y ago
Just use Firebase (firestore) ...
It's got: offline first, latency compensation, pubsub, partial sync, authorization rules and serverside timestamps, and global transactions, and 5 9s availability backed by spanner for umpteen languages. https://tomlarkworthy.endpointservices.net/blogs/firestores-technical-advantages.html https://tomlarkworthy.endpointservices.net/blogs/firestores-...
- barbarbar 5y agoBut then one day your Google account is closed by AI. Or the product is abandoned by Google.
- typingmonkey 5y agoFirestore is not really offline-first. Your app wont start without internet connection because the auth handler needs that.
- tlarkworthy 5y agono, it works as long as you logged in once. You have to ensure auth persistence is on (https://firebase.google.com/docs/auth/web/auth-state-persistence https://firebase.google.com/docs/auth/web/auth-state-persist...). You cannot login when offline, but if you were already logged in, and expiry is set to indefinate, you can stay logged in while offline.