cordovaSQLite Plugin where is the db file located?


#1

I am using the following article where they create a SQLite DB. I am running the app in the browser, simulator and also physical device but I am not able to find where does Ionic creates the SQLite file.

The problem is that when the database is created (lets say on simulator) how can I see the actual physical db file. I went into the simulator documents folder but I could not see the db there.

So, two questions:

  1. Where is the SQLite database being created in the Ionic app and how can I find it?

  2. Can I create the db using the native Objective-C code and put the DB in the Documents folder and then somehow (how) to instruct Ionic to read the db from the Documents folder.

Thanks,