9. Local data persistence
Applications often need to save data locally in the mobile device. This data can be of several types:
- Temporary data: Data that is used in intermediate processes that the application performs. For example, temporary files generated by image or video processing applications.
- Copies of data from the backend: This information might be necessary to keep the app running in the event of a lost connection or simply data allowed to be downloaded for offline access by the user. For example: movies or songs that can be downloaded offline.
- Application data: Some data is inherent to the operation of an application and must be permanently saved. Some examples of this type of data are: user preferences, notes in a notes application that does not sync with a backend, …