Firebase offline save data

i want to make a list of data. here i can use offline storage like as tinyDB. but i want to use firebase. when app open (no internet) show all saved data and can make all action. now when divice go to online all new data from app go to firebase and get all new data(only) from server.

can anybody help me?

Do you want the entire database or just individual values?

There are lots of ways to do it. Check out these blocks as pieces of the puzzle you can put together how you like.

3 Likes

Yes…
Get all tag or get all values as @cian Said then when firebase got value save it as a list on tinyDb…
Now…
If network is connected then get value again and update the tinyDb tag
Else if network isn’t connected
Then use tinyDb list wherever you want…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.