Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note: The latest $VERSION is 2425.52.0

The Mobile Protect SDK for native Android apps is distributed via Maven. This document will take you through the steps to integrate SDK into your build system. For other guides, check out Mobile Protect Installation Guides

...

If you chose to define the API key globally, you can add it to the global Gradle properties in ~/.gradle/gradle.properties (plaintext file) or in your local.properties with:

Code Block
MOBILEPROTECT_REPO_API_KEY={MOBILEPROTECT_REPO_API_KEY}

...

Code Block
MobileProtectPluginConfiguration {
  enableAntiFraud = true
}

Set a custom user identifier

Using MobileProtect you can add a custom user identifier which will be attached to events sent by the SDK, you can do so using:

Code Block
MobileProtect.setUserIdentifier("your user identifier")

Optional: Add TrustKit certificate pinning

...