Closed MrZeeba closed 3 months ago
It appears that Firebase/store is not a tool to be used offline https://stackoverflow.com/questions/48871927/using-firebase-firestore-in-offline-only-mode.
I think I need to investigate segregating database interaction via an interface, then using dependency injection to store online if the user is a premium user. Otherwise data should be stored offline.
SQLite may come back into play as a potential option. https://medium.com/@dubaidevmarketing/top-10-local-databases-for-react-native-app-development-in-2023-5944bb58042e
Ensure that when creating a session it's stored offline if we turn off online storage