...
Code Block | ||
---|---|---|
| ||
"dependencies": { "mobile-protect": "22.523.0.7", } |
For Mobile Protect Anti Fraud, use the mobile-protect-antifraud package:
Code Block |
---|
"dependencies": {
"mobile-protect-antifraud": "1.0.0",
} |
See https://docs.npmjs.com/about-semantic-versioning for deciding if pinning the versions is the best practice for your project.
...
Follow the steps on Mobile Protect SDK for Android via Maven
In the Android project copy the
mobileprotect.xml
config file into the React Native project's Android xml resources folder. If the xml directory does not exist, create it.
For Anti Fraud on Android, you will also need to add the config from this step:
iOS Integration
Follow step 1 on Mobile Protect SDK for iOS via CocoaPods (cocoapods.org)
In the iOS project copy the
MobileProtect.plist
config file into the React Native project's Xcode project. See Add Existing Files and Folders to a Project for instructions.
...