Thanks for your interest in SQLCipher. I would recommend encrypting the plaintext SQLite database to SQLCipher before you attempt to interface with the Room API. You can use the sqlcipher_export(...) convenience function [1] to convert from plaintext to SQLCipher. You would then use SupportOpenHelperFactory to allow Room to interface with SQLCipher for Android when performing any database operations.
We don’t generally use the Room API, however, it appears they have some documentation [2] that covers various schema migration approaches based on your needs. SQLCipher for Android doesn’t provide any specific mechanism for managing/apply schema migrations outside of executing SQL statements. Just as with accessing the data stored within a SQLCipher-encrypted database, a password or raw key would need to be provided to the library to in order to execute any SQL command that would modify the schema of the database itself.
Hey @agustinsivoplas You can refer this Repo. Since the threads you have shared works well with older Sqlcipher library. But, for newer version we have to make some changes.