Skip to content

Migrating to SQLDriver with Room3 #84

@InputOutputZ

Description

@InputOutputZ

Hi there,

I'm not sure from where to start but I have two questions that will determine if there is a bug, documentation is not complete or this issue ticket should be a feature request.

Here is a context, I have checked the source code of Room3 and sqlcipher-android, it doesn't look like it has addressed the removal of openHelperFactory as part of SupportSQLiteOpenHelper.

If this is true, will sqlcipher-android support Room3 and when?
if this is false, is there anyone knows and can hint out how to configure sqlite database with SupportOpenHelperFactory i.e. encryption key using Room3 and allows overriding create function so encryption key can be cleared from memory after use?

Setting driver have only one option that is the name of the database file, which can be set. Also, there is only option to change password after building the database, anyone have an idea better than me?

With thanks.

Zakaria.

Refer to
https://android-developers.googleblog.com/2026/03/room-30-modernizing-room.html
https://developer.android.com/jetpack/androidx/releases/room3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions