Ok total newbie here, so bare with me. I have a few basic questions/queries about data storage.
so to keep it simple ill use an example app.
I downloaded a quiz app, and signed in, and then put my phone on airplane mode (to kill connection). I played 5 games, and the app had a page of total stats (IQ etc).
I then closed the app, and restarted my phone, and while still in airplane mode, I opened the quiz app…i did not need to login again, and it had kept my history of stats.
How has it done this?
I know localStorage wont work here, as it erased when closing. I want to make a similar app, as its my first attempt, and i want to store data in the same way. Ive been through many many articles/stack/forums, and i have seen things like CouchDB(with PouchDB), sqlLite, ionicStorage etc etc. So for the above example, can someone point me in the right direction of how this is done please? i am using firebase, which is fine for a connection, its just this offline storage i’m confused about.
also, after the 10th quiz, the app asked me to download the next section. how is this done, as in where is that content saved? in the app or my device?