-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Local
-
?
-
Kotlin Beta sprint 33
-
942
SDK and version
SDK : Kotlin Realm
Version: 1.0.1 (library base)
Observations
- How frequent do the crash occur? - Reproducibly
- Does it happen in production or during dev/test? Test
- Can the crash be reproduced by you? Yes
- Can you provide instructions for how we can reproduce it? Build app with R8/Proguard minify enabled
Crash log / stacktrace
2022-07-26 22:05:30.770 E/REALM: /Users/realm/workspace-realm-kotlin/releases/packages/cinterop/src/jvm/jni/java_class.cpp:49: [realm-core-12.1.0] Assertion failed: cls with (class_name) = ["io/realm/kotlin/internal/interop/sync/NetworkTransport"]
<backtrace not supported on this platform>!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
Steps & Code to Reproduce
Build app using Realm with R8/Proguard minify enabled. Attempt to open realm crashes:
private val config = RealmConfiguration.Builder(setOf(MessageObject::class, MediaObject::class, ResponseObject::class, ContactObject::class)).build()
val realm = Realm.open(config)
- duplicates
-
RCORE-1168 Kotlin SDK does not run with R8/Proguard enabled
- Closed