Repository navigation
Known Issues
- Affects: iProov Android SDK when built with Android Gradle Plugin 9.1.0 or newer.
-
Does not affect: debug builds, or any build with
minifyEnabled false.
A release build compiles and installs normally, then crashes on the first call into the iProov SDK:
java.lang.IllegalAccessError: Class kotlin.collections.<a> extended by class <b> is inaccessible
The obfuscated class names vary between builds. The crash does not reproduce in debug builds.
Add this line to your app's proguard-rules.pro:
-keepnames class kotlin.**Kt__*
This stops R8 from moving Kotlin standard library internals between packages. It does not disable shrinking or obfuscation: unused classes are still removed, and your own code is unaffected.
If you prefer a Gradle-side setting, AGP 9.3 introduced an optimization block:
android {
optimization {
enable = true
packageScope = setOf("androidx.**", "kotlin.**", "kotlinx.**")
}
}We are aware of an issue with Firebase Crashlytics Gradle plugin which will cause a build failure when nativeUpdateSymbolsEnabled is set to true.
It will be fixed in the next Firebase SDK release but in the meantime a workaround is available here.
The workaroud has to be applied at app level
Please use the latest version available. In this case, an unexpected problem with 10.3.2 means we strongly recommend not using it, and instead use 10.4.0 and above.
Please look at this page about updating for use past Dec 2024
Some customers have needed to add the following Proguard rules to overcome issues when obfuscating their app. This problem only happens with SDK 9.0.0, 9.0.1, and 9.0.2. In future releases, this will be in our consumer rules for your convenience.
-keep class kotlin.** { *; }
-keep class kotlinx.** { *; }
Please use the latest version available. In this case, an unexpected problem with 9.0.0 means we strongly recommend not using it, and instead use 9.0.1 and above.
- Huawei Rio