Integrate the Root Detection SDK
  • 23 Oct 2024
  • 1 Minute to read
  • Dark
    Light

Integrate the Root Detection SDK

  • Dark
    Light

Article summary

AndroidiOS

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

  1. Copy RootDetectionSDK.aar from the OneSpan Mobile Security Suite package to the aars folder.

  2. Link UtilitiesSDK.aar from the OneSpan Mobile Security Suite package to your project.

  3. 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

  1. Link MSSRootDetection.xcframework from the OneSpan Mobile Security Suite package to your Xcode project (linked framework and libraries).

  2. 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++).

  3. Link the UtilitiesSDK.xcframework library from the OneSpan Mobile Security Suite package to your Xcode project (linked framework and libraries).

  4. 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.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant