Note: The latest $VERSION
is 24.47.01
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
...
Now you're ready to initialize the SDK. Within your application's main Application class, preferably in the onCreate()
method, add the following initializing code:
Code Block |
---|
import com.datatheorem.mobileprotect.MobileProtect [...] class YourApplication : Application() { override fun onCreate() { [...] MobileProtect.init(this, R.xml.mobileprotect); [...] } [...] } |
Results
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
} |
Optional: Add TrustKit certificate pinning
...