I have used greendao generator with sqlcipher to encrypt database.
but when i am **upgrading sqlcipher from 3.5.7 to 4.4.3, my app crashes since my app cannot access the old encrypted database. I have already searched for a solution and found out that I need to run PRAGMA cipher_migrate in postKey of the SQLiteDatabaseHook to migrate my database.
I have used greendao generator with sqlcipher to encrypt database. but when i am **upgrading sqlcipher from 3.5.7 to 4.4.3, my app crashes since my app cannot access the old encrypted database. I have already searched for a solution and found out that I need to run PRAGMA cipher_migrate in postKey of the SQLiteDatabaseHook to migrate my database.
process must be done as in this link https://discuss.zetetic.net/t/upgrading-sqlcipher-for-android-from-3-to-4/3580 But i could not figure out how to perform this with greendao as orm? any help regarding this upgrade is highly appreciated