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
Open the native capacitor android project with
npx cap open android
Follow the steps 1-4 on Mobile Protect SDK for Android via Maven
In the
MainActivity
(which extendsBridgeActivity
) override theonCreate
method and initialize MobileProtect usingMobileProtect.init(this, R.xml.mobileprotect)
iOS Integration
Open the native capacitor ios project with
npx cap open ios
Follow the steps on Mobile Protect SDK for iOS via CocoaPods (cocoapods.org)
Our plugin will initialize and launch itself, there is no need for a manual launch on iOS.
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.