Update react-native example to expo@46#3934
Conversation
375454a to
7bca6ef
Compare
|
So I've fixed the Let me know if there are things to improve/not ok. Not sure if the memory adapter is a good choice as the database does not persist (not a real usecase). Maybe the need for |
|
I accientially merged code from #3903 which is why there is the memory storage used. We need to use the PouchDB storage because only that contains a non-premium sqlite based adapter and has the asyncstorage as alternative. also we need either the couchdb or the rxdb-replication running. Using the |
|
Closing this in favor of #3903 |
I did this in the premium task context before seeing someone else submitted another PR :/
This PR contains:
expo-splash-screenwhile database is being initialized.expo-sharedfor assets (npx expo-optimize)text-encoding-polyfillto avoid app crashing (rxdb uses theTextEncoderclass from DOM)package.jsonsrcfolder and some others).nvmrcfile pointing tov16because expo-cli does not support v18Example is now fully working on a simulator.
Describe the problem you have without this PR
Some remaining issues
setStateis being called after it finished its test (it finishes before the splashscreen is hidden)