Proguard rules
When using Proguard, you need to exclude certain packages for the Kotzilla SDK to ensure it functions correctly. Here are the packages that should be excluded:
io.kotzilla.json
(version 0.12.0)io.kotzilla.cloudinject
(version 0.13.0)io.kotzilla.sdk
Declare the following rules in your Proguard file:
-keep class io.kotzilla.json.** { *; }
-keep class io.kotzilla.data.json.** { *; }
-keep class io.kotzilla.sdk.** { *; }
Additionally, if necessary, ensure to keep classes related to Ktor and Kotlin:
-keepclassmembers class kotlinx.** { volatile <fields>; }
-keepclassmembers class io.ktor.** { volatile <fields>; }