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.