How To Use A Preloaded SQLite DB

Using Expo’s SQLite module how would I go about using a preloaded database? I can’t seem to find any documentation on it. I’ve tried everything I could think of.

I’ve put my preloaded DB in the following directories (while testing): /db.db, www/db.db, data/db.db
I didn’t know if a path was needed in the database name or not, so I’ve tried the following names: db.db, ~db.db, /db.db, ./db.db. <-- I tried all those variations with the different directories.

I’m not getting an error connecting to the DB, but I assume that’s because one is being created instead of being read from. When I try to use my tables I get an error say “No such table: table_name”.

Can I use Expo’s module for a preloaded DB or do I need to eject and deal with the native implementations?

Here’s my library versions:

"expo": "^18.0.4"
"react": "16.0.0-alpha.12"
"react-native": "^0.45.1" Could help maybe? :open_mouth:

We will have a realer FS API soon-ish hopefully. Working on it ATM.