# Direct support for Android Room

**URL:** <https://discuss.zetetic.net/t/direct-support-for-android-room/3600>\
**Category:** SQLCipher\
**Created:** [April 19, 2019, 6:48pm UTC](https://discuss.zetetic.net/t/direct-support-for-android-room/3600 "2019-04-19T18:48:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zpapp](https://avatars.discourse-cdn.com/v4/letter/z/4491bb/32.png) [@zpapp](https://discuss.zetetic.net/u/zpapp)\
**Post date:** [April 19, 2019, 6:48pm UTC](https://discuss.zetetic.net/t/direct-support-for-android-room/3600/1 "2019-04-19T18:48:48Z")

</div>

Hi,

I was wondering if you would consider adding direct support for Android Room to the Android SQLCipher library. By this I mean the inclusion into the net.sqlcipher.database package a set of classes that implement the shim layer (androidx.sqlite.db.SupportSQLiteDatabase, androidx.sqlite.db.SupportSQLiteOpenHelper.Factory, etc.) that Room relies on.

I am aware of SafeRoom and appreciate the effort put forth by Commonsguy. Still, I think it would be beneficial to fold this functionality into the official Zetetic offering as it would allow people who want to use Room with encryption to adopt SQLCipher without further increasing their dependency exposure.

Thank you for your consideration!

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [April 19, 2019, 7:28pm UTC](https://discuss.zetetic.net/t/direct-support-for-android-room/3600/2 "2019-04-19T19:28:32Z")

</div>

Hi @zpapp

We are in discussions with @commonsguy to add support for the Support-based interfaces found in androidx.sqlite directly to SQLCipher for Android. This will become available in a future release, however we cannot comment on a date at this time. For the time being, we would recommend utilizing SafeRoom for that need. Thanks!

---

<div class="post-metadata">

**Author:** ![zpapp](https://avatars.discourse-cdn.com/v4/letter/z/4491bb/32.png) [@zpapp](https://discuss.zetetic.net/u/zpapp)\
**Post date:** [April 19, 2019, 7:52pm UTC](https://discuss.zetetic.net/t/direct-support-for-android-room/3600/3 "2019-04-19T19:52:56Z")

</div>

Sounds great, thanks!
