Troubleshooting¶
Code minification¶
If you are planning to minify and obfuscate your app code that integrates our SDK, you will need to add these lines to your preferred proguard-rules
file in addition to any other rules that might be already in place:
################ Mimi SDK specific rules ################
-keep class io.mimi.sdk.core.model.** { *; }
-keep class io.mimi.sdk.core.api.** { *; }
-keep class io.mimi.hte.HTENativeWrapper { *; }
-keep public enum io.mimi.hte.** { *; }
-keep class * extends io.mimi.sdk.ux.flow.view.Section { <init>(*); } # Keeping all classes extending Section class due to reflection issues with Proguard/R8
################ Kotlin specific rules ################
-keep class kotlin.Metadata { *; }