ForgeRock Developer Experience

Configure the ForgeRock SDK for Android for WebAuthn

  1. Add the following dependency to the build.gradle file:

    implementation 'com.google.android.gms:play-services-fido:20.0.1'
  2. Link to assetlinks.json in the Android app, adding the following line to the manifest file under your application:

    <meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
  3. Add an asset_statements string resource to the string.xml file:

    <string name="asset_statements" translatable="false">
    [{
      \"include\": \"https://<custom-domain-fqdn>/.well-known/assetlinks.json\"
    }]
    </string>
Copyright © 2010-2024 ForgeRock, all rights reserved.