Claus Rørbech
Claus Rørbech
Yeah, I guess the `SoLoader` is also loaded through reflection. Have you tried adding the `io.realm.kotlin.jvm.SoLoader` too?
What are the other issues that you experience that requires you to add `-dontshrink`, etc.? Maybe I can direct you on some less agressive rules if I you post the...
@alexmaryin Thanks. So after adding ``` io.realm.kotlin.Deleteable io.realm.kotlin.jvm.SoLoader ``` to the keep rules along with our proguard-consumer rules, you don't see issues related to realm?
@alexmaryin I have updated the title to reflect that this is in fact just proguard configuration. I don't think we can distribute non-Android proguard-consumer-files, so I guess the work around...
@Ynnck123 It has been [reported to Jetbrains](https://youtrack.jetbrains.com/issue/KT-62194/K2-Two-compiler-plugins-interference-in-generated-companion-object) and their current target is 2.1.0, but don't know the timeline and is also not any guarantee.
Hi @rhysll34. There is a lot of non-Realm code in play in our report. Could you try to boil you example down to minimal example showing your issue and leave...
Looks like you are not transforming the realm model classes. If you don't apply our plugin you will have to [register the transformer](https://github.com/realm/realm-java/blob/main/realm-transformer/src/main/kotlin/io/realm/transformer/RealmTransformer.kt#L86) yourself.
Also observed on https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-java/detail/PR-7232/8/pipeline
This was resolved by https://github.com/realm/realm-core/pull/7891
Hi @hkchakladar. I didn't find anything that should block opening the realm in your snippets. One alternative could be to try to created a named subscription instead of the `initialSubscriptions`...