0 votes
in Ionic by
How do you persist data between application launches using Ionic?

1 Answer

0 votes
by
As Ionic behind the scene builds HTML5 based applications, you can use localStorage and sessionStorage API to persist data on the mobile phone. However, since localStorage can only store strings, objects need to be stringified before saving. Also, it is important to mention localStorage has size limit around 5MB.

Related questions

0 votes
asked Jul 24, 2020 in Ionic by Robindeniel
0 votes
asked Jul 24, 2020 in Ionic by Robindeniel
...