- 23 Oct 2024
- 1 Minute à lire
- SombreLumière
Integrate the Root Detection SDK
- Mis à jour le 23 Oct 2024
- 1 Minute à lire
- SombreLumière
Android
The following procedure allows you to integrate and use the Root Detection SDK in your Android project.
To use the Root Detection SDK in your Android project
Copy RootDetectionSDK.aar from the OneSpan Mobile Security Suite package to the aars folder.
Link UtilitiesSDK.aar from the OneSpan Mobile Security Suite package to your project.
Copy the signature file from the OneSpan Mobile Security Suite package to the assets/signature folder.
In order to use the Root Detection SDK library, you also need to add the following external libraries to your maven/gradle project:
implementation 'androidx.annotation:annotation:1.2.0' implementation 'com.esotericsoftware:kryo:5.1.1' implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
You are now ready to use the Image Scanner SDK. For more information on the functions, see Start the analysis and Obtain the signature file.
iOS
The following procedure allows you to integrate and use the Root Detection SDK in your iOS project.
To use the Root Detection SDK in your iOS project
Link MSSRootDetection.xcframework from the OneSpan Mobile Security Suite package to your Xcode project (linked framework and libraries).
Link the libc++ library from the iOS SDK to your Xcode project via the Link Binary With Libraries build phase (only required if the project is compiled in Objective-C and not in Objective-C++).
Link the UtilitiesSDK.xcframework library from the OneSpan Mobile Security Suite package to your Xcode project (linked framework and libraries).
Copy the signature file from the OneSpan Mobile Security Suite package to the res folder.
Your project must be compiled with the libc++ standard library.
You are now ready to use the Image Scanner SDK. For more information on the functions, see Start the analysis and Obtain the signature file.