Open harisrnd opened 3 years ago
It's Android trying to load a backup. A very frustrating feature.
Hello. Same bug here. Is there a trick to refresh the previous SQLite to avoid the backup ? Like creating a version based database
Any solution about this?
This works for me.
Add android:allowBackup="false" into config.xml:
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
<application android:allowBackup="false" />
</edit-config>
I hope to get this documented in the future, thanks.
Android: 10.1 android sdk - build tools: 30.0.2 cordova-android: 9.0.0 Cordova CLI: 10.0.0 cordova-sqlite-storage 5.1.0 var dbObj = window.sqlitePlugin.openDatabase({"name":, location: 'default'});
If I uninstall the app and install it again, the database has data of a previous version.
If I "clear data" from app settings the database is empty.
But when I uninstall and install again, the old data appears again(I don't know where from).
I do not know if this is a SQLite bug or sth else, I just thought I had to report this.