Status Update
Comments
lo...@gmail.com <lo...@gmail.com> #2
I'm sorry, I meant Kodein-DB instead of Kodein-DI of course.
yb...@google.com <yb...@google.com> #3
We have this on the roadmap but no current timeline yet.
That being said, we are currently in the process of adding KSP support for room (
- make room generate common kotlin code
- move room's runtime library to android-free common kotlin
- add multiplatform sql backend support
- figure out how to do all of this w/o breaking existing users :)
As this will take a long time, if you are in urgent need, I would recommend using SQLDelight. It is a great library with similar compile time guarantees to Room. (i'm not familiar with Kodein-DB)
lo...@gmail.com <lo...@gmail.com> #4
Thanks for your fast reply and the detailed explanation! I'm glad to hear that it is on the roadmap and I look forward to using it someday :)
Description
Room is an awesome library on Android. I would really love to use it in Kotlin Multiplatform Mobile projects for Android and iOS. Libraries like SQLDelight or Kodein-DI do not offer all the features room has. SQLDelight for example does not support the generation of SQL from objects. Kodein-DI has no support for encrypted databases. Would it be possible to use Room in a KMM Project?