Implement the MMKV storage
Implement MMKV in replacement for AsyncStorage:
We are going to use 4 storages:
- Session: cleared when the user logs out
- User: persistent for each user.
- UserCache: persistent for each user. Add an option to clear it from settings
- App: For permanent settings and information across the app (language, data saver, theme, etc)
-
Implement new storage -
Improve app initialization taking advantage of the MMKV sync methods -
Implement a migration from AsyncStorage to MMKV to avoid losing sessions and settings with the update -
Replace session storage -
Replace settings storage -
Replace cache storage for requests -
Replace portrait storage and implement TTL -
Refactor update service to use MMKV -
Refactor search bar to use new storage -
Refactor and replace offline data cache using MMKV -
Entities -
Channels -
Feeds -
Comments
-
-
Remove SQL package and logic -
Fix spec tests -
Fix typescript errors
Edited by Martin Santangelo