react-native-sqlite-2 icon indicating copy to clipboard operation
react-native-sqlite-2 copied to clipboard

Use getDatabasePath instead of getFilesDir

Open DaveWelling opened this issue 7 years ago • 1 comments

I was trying to use Stetho to see the sqlite database and I could not. After looking through the file system, I noticed that you are storing the database files in the context.getFilesDir location, but I suspect tools like Stetho would work better if you used the context.getDatabasePath function instead.

DaveWelling avatar Oct 11 '18 20:10 DaveWelling

I agree

craftzdog avatar Oct 18 '18 09:10 craftzdog