Configure the ForgeRock SDK for Android for WebAuthn
-
Add the following dependency to the
build.gradle
file:implementation 'com.google.android.gms:play-services-fido:20.0.1'
-
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" />
-
Add an
asset_statements
string resource to thestring.xml
file:<string name="asset_statements" translatable="false"> [{ \"include\": \"https://<custom-domain-fqdn>/.well-known/assetlinks.json\" }] </string>