Troubleshooting
In this section, you will find solutions to some common issues encountered during the integration of the Unico IDCloud SDK into your Android applications
Code Obfuscation
The obfuscation material aims to assist developers in navigating obfuscation issues in their applications. The client's obfuscator can affect the SDK's functionality; therefore, it is essential that it does not obfuscate the SDK code. Unico disclaims any responsibility regarding obfuscation conflicts with the SDK.
Obfuscation is a process of transforming bytecode into a form that is less readable to humans, thereby making reverse engineering more difficult. This process involves removing debugging-related information such as variable tables, line numbers, and renaming packages, classes, and methods. When integrating the Android SDK into an application, failures may occur.
Obfuscation via DexGuard
When obfuscation is performed using DexGuard, if a failure occurs, use the following rules:
Obfuscation via ProGuard
When obfuscation is performed using ProGuard, if a failure occurs, use the following rules:
SDK Update - Version 4.3.x
Starting from version 4.4.x of the SDK, Unico began using its own Maven repository to distribute the Android SDK and changed the SDK dependency name, in addition to adjustments to ProGuard and DexGuard rules for clients using the GuardSquare library, as described in the Code Obfuscation section above.
Update the Maven Repository:
Change the Maven repository to the new repository in the project’s build.gradle
file. The implementation was previously done as follows:
It should now be updated to the new repository:
Change the SDK Dependency
Update the SDK dependency to the new dependency in the project’s app/build.gradle
file. The implementation was previously done as follows:
It should now be updated to the new dependency:
Still need help?
Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.
Atualizado