We have an SQLCipher v3 db which we tried to migrate to v4. Migration, created a new db by appending “-migrate” at the end of the db’s filename and failed to complete the migration process.
The reason it failed was that the DB used
PHONEBOOK collation. We figured this out when we tried to open the DB in “DB Browser for SQLite” and got a warning. Then we found that it’s a known issue.
Is there a way to get some error message, like they got on logcat in the other topic, when migrating the DB using SQLCipher for Android?
We currently use
QueryHelper.singleValueFromQuery(database, "PRAGMA cipher_migrate");
QueryHelper is from your test suite.