--- title: "Integrate the Root Detection SDK" slug: "root-detect-sdk-ig-integrate-the-sdk-4-32-0" updated: 2026-04-13T11:14:49Z published: 2026-04-13T11:14:49Z canonical: "docs.onespan.com/root-detect-sdk-ig-integrate-the-sdk-4-32-0" excludeFromSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrate the Root Detection SDK ## Android 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. > To use the Root Detection SDK library, you also need to add the following external libraries to your maven/gradle project: > > ```plaintext > dependencies { >                implementation 'androidx.annotation:annotation:1.3.0' >                implementation 'com.esotericsoftware:kryo:5.1.1' >                implementation 'org.bouncycastle:bcprov-jdk18on:1.81' >                } > ``` ## iOS 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 Root Detection SDK. For more information on the functions of the SDK, see [Start the analysis](/mobile/docs/root-detect-sdk-ig-start-analysis-s-method-4-32-0) and [Obtain the signature file](/mobile/docs/root-detect-sdk-ig-obtain-signature-file-g-method-4-32-0). ## API reference documentation and sample applications To learn more about the public APIs and their functions, exceptions, and error codes, refer to the technical documentation that is included in the product package for each SDK and each platform. In the product package, you can also find the sample applications provided for each platform to see examples of how the SDKs can be used. > These sample apps are intended only to demonstrate basic scenarios and SDK usage. They are not designed to be copied directly into production projects!