-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime android app crash #1713
Comments
➤ PM Bot commented: Jira ticket: RKOTLIN-1064 |
My guess is that your ProGuard configuration is missing something. Please provide a full reproduction case for us to help you further. |
HI Thanks for the input, can you provide expected proguard configuration? |
Without a reproduction case - or at least your proguard configuration - it is difficult to provide a good answer. |
I did not add any proguard configuration for project. |
It is a bit unclear what you mean by "android native code uses realm-java sdk", but have tried to elaborate a bit on the constraints of using both SDKs at the same time. We don't support open a realm file with both SDKs at the same time. It is also dangerous to access the same realm file with different SDKs even if you don't try to do it simultaneous, as the two SDKs might be using core versions with different file formats. When you are trying to combine two SDKs in the same app you have to be carefull to specify the model so that you don't get the Kotlin compiler plugin applied on the Java classes. This should be doable following the pattern of defining models from our Java-compatibility example. |
How frequently does the bug occur?
Always
Description
IllegalStateException: Incomplete hierarchy for class RealmObject, unresolved classes [io.realm.kotlin.types.TypedRealmObject]
Getting exception, when creating configuration.
Defined entity classes as follow
class Sample: RealmObject, Entity {}
Entity is custom class having two attributes.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Use kotlin realm in KMM code, create native android build and test on PlayStore build.
Version
1.14.0
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android 14
Build environment
No response
The text was updated successfully, but these errors were encountered: