Hello seniors,
How can I make my app work like this :-
app needs to fetch data only when app start every time, app has 5-7 screens, when user switch on the screen and again switch back to previous screen the data should not be fetch from firebase, should be fetch from tiny db but when user reopen the app that time should be fetch from firebase…
actually I cant understand the logic of doing this that is only I need help. I know how to use tiny db or
when the user open the app only that time app fetch data from firebase database, until the data was same on firebase database and tiny db, the app does not fetch data from server and use data from tiny db
I know how to use tiny db but I dont know the correct procedure of doing this
actually the motive of doing this to save usage of firebase and not to hit the free quota, If any good idea for this please suggest me. thank you for helping me.
My friend I already search related topic on that but my query is not about registering user and not,
even I know this method
but my situation is different app needs to fetch data only when app start every time, app has 5-7 screens, when user switch on the screen and again switch back to previous screen the data should not be fetch from firebase, should be fetch from tiny db but when user reopen the app that time should be fetch from firebase…
actually I cant understand the logic of doing this that is only I need help. I know how to use tiny db
by the way thank you for your recommendation. I learnt something new from that topic
thank you @Rogerio_Rios