Hacker News new | ask | show | jobs
by typingmonkey 1834 days ago
Firestore is not really offline-first. Your app wont start without internet connection because the auth handler needs that.
1 comments

no, 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-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.