S4 ‐ Local storage strategies - S3-G31-Kotlin-QueueHub/mobile-app-android GitHub Wiki
In local storage, we implemented two different ways to save information in local storage:
-
The first one is using user preferences. In the login screen, when you sign in, we save these credentials in user preferences, this enhance allow the user to use the application more efficiently because this avoids unnecessary sign in steps. This information will be saved in private storage, where the information saves the information in a secure way trying to avoid unallowed access by other apps.
-
In other way, we are using Firebase. By default, Firebase have one way to manage information in local device in order to have a cache strategy for eventual connectivity. This is the second feature of local storage of our application, the firebase information is saved locally as cache.