This document details the integration steps required to integrate the Device Risk Android SDK into your application or library.
Before getting started, check that your development environment meets the following requirements:
Follow the steps below to set up the Android SDK.
allprojects {
repositories {
...
maven {
url "https://sdk.socure.com/"
}
}
}
implementation 'com.socure.devicerisk.sdk:socure-devicerisk:4.3.1'
android:allowBackup="true"
in your app's AndroidManifest.xml
application attributes. This will improve persistence of your sessionToken
when your app gets reinstalled for clients who have enabled backup in their device settings.If minify is enabled in Gradle minifyEnabled true
add the following in your proguard rules:
-keep class com.socure.idplus.** { *; }
For instructions on how to configure the SDK, see the Android SDK documentation on DevHub.