-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I'm getting this error message when enable full mode of R8:
kotlinx.serialization.json.internal.JsonDecodingException: Class discriminator was missing and no default serializers were registered in the polymorphic scope of 'NetworkResponse'.
I found this other issue opened to R8: https://issuetracker.google.com/issues/340494391
My case is exactly like the one described there.
As a workaround I added this rule to my proguard:
-keep class com.haroldadmin.cnradapter.** { *; }
I know that it's not perfect, I'm keeping way more than needed but because this library is small I don't care that much.
Metadata
Metadata
Assignees
Labels
No labels