General
Requirements
Minimum SDK Version: Android 4.4 - 4.4.4 KitKat (API level 19)
Supported U2F Authenticator Transports
- NFC
- USB HID
- Bluetooth Low Energy (A.K.A. BLE, Bluetooth Smart)
- Virtual (included in client)
API Demo App
Follow these steps to run the U2F App API demo code.
1. Clone the code from GitHub.
$ git clone https://github.com/SurePassID/U2FApp
2. Open the project using Android Studio.
File > Open...
3. When the project loads you will see the following two errors.
/U2FApp/U2FApp/build.gradle
Error:(34, 13) Failed to resolve: com.surepassid.ui:ui-lib:1.0-SNAPSHOT
Error:(33, 13) Failed to resolve: com.surepassid.fido:u2f-client-api:1.0-SNAPSHOT
4. To correct these error edit the file /U2FApp/build.gradle and add the maven repository information that was provided to you. After saving the changes select the following from the Android Studio menu.
Tools > Android > Sync Project with Gradle Files