SamplesFIDOSample Code

Sample Code

FIDO2

The Android Studio project contains the Java and Kotlin sample code for using the registration and authentication functions of FIDO2.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

BioAuthn-AndroidX

The Android Studio project contains the Java and Kotlin sample code for using the fingerprint and facial authentication functions of the BioAuthn-AndroidX SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

BioAuthn

The Android Studio project contains the Java and Kotlin sample code for using the fingerprint and facial authentication functions of the BioAuthn SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

NOTE

Before using the sample code, read the README file in the sample project carefully. Run the sample code only after you complete the following operations:

  1. Sign in to AppGallery Connect, download the agconnect-services.json file of your app, and copy the file to the app directory of the sample project.

  2. Open the build.gradle file in the sample project, and change the value of applicationId to your app package name.

Search
Enter a keyword.