Hi @FrozenPyrozen,
You previously mentioned using SQLCipher for Android 3.5.7. If you are upgrading to SQLCipher for Android 4.5.4, you will need to review the upgrade recommendations as SQLCipher 4 will not open a SQLCipher 3 database by default, there are several approaches to address this.
SQLCipher for Android uses the DatabaseErrorHandler
(similar to android.database.sqlite.DatabaseErrorHandler) using the default implementation which will delete the file on corruption. This is consistent with the android.database.sqlite
package. You can override this behavior by providing your own implementation for a DatabaseErrorHandler
via constructor argument to a SQLiteOpenHelper
subclass, or the static openDatabase
or openOrCreateDatabase
on the SQLiteDatabase
class.