I'm trying to store data on a mobile phone. I use Angular and I think to store it on Local Storage but it looks like it have a limit of capacity. Another option is that I write the data to a file and read the data into my application but I don't know if that is possible on a mobile phone. Do you suggest any of these or do you recommend other options (sqlite, etc). Thank you in advance.
Convert your event object to a string then store them in Localstorage, Unless your project have a binary files then I believe Localstorage is more than enough, This example is using a caching service to store the http requests, you absolutely can do the same. https://dev.to/mauro_codes/client-side-caching-with-angular-2i6l