InterviewSolution
Saved Bookmarks
| 1. |
How can you persist data between application launches while using Ionic? |
|
Answer» You can utilise the localStorage and SESSIONSTORAGE APIs to persist DATA on the mobile phone because Ionic is an HTML5 framework. Because localStorage can only save strings, OBJECTS must FIRST be stringified before they can be saved. It's also worth noting that the MAXIMUM capacity for localStorage is 5MB. |
|