Skip to main content

Specific setup

SDK Key

Contact the Customer Support (CS) / Onboarding team and request an SDK Key, providing the identifiers of your applications:

  • Application ID (Android) — found in your build.gradle as applicationId
  • Bundle Identifier (iOS, if applicable)
  • Host (Web, if applicable)
  • App SHA-256 fingerprint (Conditional) — required if you plan to use Passkey

The Unico team will link the SDK Key to your identifiers. The SDK Key is the value you will return from getHostKey() in the initialization step.

Obfuscation rules

The SDK cannot be obfuscated. Add the following rules to your proguard-rules.pro:

proguard-rules.pro
-keep class kotlin.coroutines.**
-keep class kotlinx.coroutines.**
-keep class com.acesso.acessobio_android.** { *; }
-keep class io.unico.** { *; }
-keep class br.com.makrosystems.haven.** { *; }
-keep class HavenSDK.** { *; }
-keep class HavenSDK** { *; }
DexGuard

If you use DexGuard (GuardSquare), the rules are different — contact Unico Support for the specific ruleset.