I have written a basic note-taking application, using the cordovaSQLite plugin.
The application works perfectly on the Genymotion emulator, the data is persistent and is showing up even on restarting the emulator.
However, it doesn’t look like the database is being saved on my actual phone.
When I restart the application on my phone, no older notes are being loaded.
They are being loaded on the emulator, but not on the actual phone.
Attached is the link to the app.js file in my Github repo.