Prerequisites

Your app must be associated with your website to use Passkeys. This requires proper configuration of Digital Asset Links. Complete the enablement of passkeys for native apps.

OwnID SDK Setup

Minimum requirements:

  • Android API level 23 or higher
  • Java 8+
  • Kotlin support

Installation

Add the OwnID Android SDK to your app’s build.gradle file.

implementation "com.ownid.android-sdk:core:<latest version>"

Enable Java 8 compatibility:

android {
   compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
   }
   kotlinOptions {
      jvmTarget = "1.8"
   }
}

OwnID Configuration

Create a new json config file inside the assets folder (example:assetsProd/ownIdSdkConfig.json) in your project:

{
    "appId": "your-app-id"
}

OwnID supports multiple environments: production (default) and uat. To use uat environment add the env parameter:

{
  "appId": "your-app-id",
  "env": "uat"
}

Integration Options

Choose between two different integration paths based on your needs: OwnID Elite and OwnID Boost. Each path offers unique capabilities:

Was this page helpful?