Mobile Protect SDK for Capacitor

The Mobile Protect SDK for Capacitor supports the iOS and Android platforms. This document will take you through the steps to integrate the SDK into your project. For other guides, check out ​Mobile Protect Installation Guides

For Mobile Protect to correctly fetch its dependencies, a Mobile Protect API key is needed. If you haven’t received an API key for Mobile Protect, please contact us.

Android Integration

  1. Open the native capacitor android project with npx cap open android

  2. Follow the steps 1-4 on Mobile Protect SDK for Android via Maven

  3. In the MainActivity (which extends BridgeActivity) override the onCreate method and initialize MobileProtect using MobileProtect.init(this, R.xml.mobileprotect)

iOS Integration

  1. Open the native capacitor ios project with npx cap open ios

  2. Follow the steps on Mobile Protect SDK for iOS via CocoaPods (cocoapods.org)

  3. Our plugin will initialize and launch itself, there is no need for a manual launch on iOS.

Results

Please visit Data Theorem to see the list of your apps and the state of protection, along with the individual protection item details.