This is the basic structure I'm using in an app.
getDatabasePath will handle any detail on unzip, copy, etc,
index will do all the usual dirty work, including withDatabase that won't explode if the database is missing
WatermelonProvider to cover original one til the DB is ready
@Stophface I'm doing pretty much same what you just described, relying on
react-native-sqlite-storagejust to have access to my products catalog.@sidferreira Thanks for more information. I think I'm definitely doing something wrong and since I'm running out of time, skipping this method for now.
Guys, let's stay connected on twitter @devnrj07 ! @Stophface we'll sort it out soon.