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.
...