How to upload sqlite db dump?

How can send db dump via email?

I’m not sure if its possible to do a dump of the entire database. It might be with the filesystem API. @nikki do you know?

Hmm… You could use fetch to POST the database file, the file:// URI of the file locally is Expo.FileSystem.documentDirectory + 'SQLite/dbname.db' (replace 'dbname.db' with the name of your database file). here’s some example code for uploading a file given a file:// URI.

1 Like