I\'m developing a Android Cordova/Phonegap app where I want to use a SQLite database. I used the example from the official documentation.
// Wait for device
In WAL mode, any changes are written to the -wal file; the database file itself does not get updated until a checkpoint is done.
-wal
If there is a -wal file, you must copy it, too.