Android SDK setup

This getting started information will walk you through downloading the SecureAuth Mobile SDK. To use the Mobile SDK functionalities, first add Kotlin and room dependencies.

  1. Download the SecureAuth Mobile SDK library.

    Obtain the library by contacting SecureAuth Support by email or telephone at support@secureauth.com or 1-866-859-1526.

  2. Extract and add secureauth-sdk.aar to your project folder and to your application build.gradle file.

  3. Set up your development environment.

    Add the Kotlin and room dependencies by running the following script:

    dependencies {
        // Import SDK .aar file
        implementation files('/.../secureauth-sdk.aar')
     
        // kotlin dependencies
        implementation 'androidx.core:core-ktx:1.3.2'
        implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"
        implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1"
     
        // Room dependencies
        implementation "androidx.room:room-runtime:2.2.6"
        implementation "androidx.room:room-ktx:2.2.6"
        kapt "androidx.room:room-compiler:2.2.6"
    }

Next steps

Android SDK initialization