We use SQLiteContext to determine whether the state persisted in SQLite has been loaded.
For example, in app-navigator, we won't render within App.Navigator until storeLoadedFromLocalDatabase is true.
Depends on D4158
Differential D4159
[native] Add `messageStoreLoaded` to `SQLiteContext` atul on May 31 2022, 6:23 AM. Authored by Tags None Referenced Files
Details We use SQLiteContext to determine whether the state persisted in SQLite has been loaded. For example, in app-navigator, we won't render within App.Navigator until storeLoadedFromLocalDatabase is true. Depends on D4158 We're manually setting messageStoreLoaded to true in SQLiteContextProvider for persistConfig.version < 31 (the migration which "flips the switch") for now. The app should continue to work as expected without issue. Specifically, will deploy a release build to my phone and open/force quit/open/etc the app a couple times and make sure things continue to work as expected.
Diff Detail
Event Timeline
|