Versions Compared

Key

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

Note: The latest $VERSION is 2425.42.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}

...

Please visit https://www.securetheorem.com/mobile/protect to see the list of your apps and the state of protection, along with the individual protection item details.

Optional: Enable Anti-fraud

To enable the anti-fraud feature of MobileProtect, you need to have at least version 24.5 installed, and then in your build.gradle enable the anti-fraud feature like this:

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

...