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.
2. Clone the code from GitHub.
$ git clone https://github.com/SurePassID/U2FApp
3. Open the project using Android Studio.
File > Open...
4. 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
5. 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
6. You can now run the app on your Android device.
Run > Run 'U2FApp-U2FApp'