android - Can FireBase offline mode can be used for localstorage only? -
consider blogging application allows offline mode in free version. , once user subscribes paid version - data being synced firebase.
the question - since firebase has offline capabilities - can work (like parse) queries explicitly use local storage when querying data? (save/read). paid sync can feature flag
because can tell skimming docs, offline capability seems "store offline until i'm online" scenarios
thanks
the firebase database online database, continues work while user offline.
while user disconnected, firebase queues local writes operation in memory (and if call setpersistenceenabled(true)
disk). way works means local-only performance worse local write queue grows.
so unless have reasonable maximum local number of write operations, scenario may not work on firebase's offline architecture.
Comments
Post a Comment