Alert SQLite path on device


#1

Hey. Im new to this ionic/sqlite concept. I have tried several guides on how to implement SQLite to cordova.
I can insert data and select data no problems with that. But i cant find the database location.
this is my db initate : $cordovaSQLite.openDB({ name: myDB.db", location: ‘default’ });

i have deployed and installed my app on a rooted s5 and none rooted. I can se the package folder in data and it contains only a files folder.

I just want to get access to the db file how and where can i do it?

a simple thing i want to do is just alert the db path like this : alert(db.pathOnDevice())

Really want osme help… Thanks.