how to delete SQLite database and find d ...

how to delete SQLite database and find db location in android react native

Nov 26, 2020

Hello Friends,

Welcome To Infinitbility!

React native SQLite & React native SQLite storage provide an option (SQLite.deleteDatabase) to delete db file from user phone but if you call SQLite.openDatabase for deleted db then db file re-creates on user phone.

if you want to completely remove the database then you have to delete the database from your project before the build.

SQLite.deleteDatabase use for deleting previous used database from users mobile.

before deleting the database check the user phone database file available or not.

Full Documentation

Enjoy this post?

Buy Infinitbility a coffee

More from Infinitbility