Cordova fingerprint aio demo app

Cordova Fingerprint plugin demo

Demo app for testing the cordova-plugin-fingerprint-aio, which allows to use biometric validation in Android using the deprecated Fingerprint Manager API. Source code available in GitHub.

Apache Cordova logo phonegap

Please note that this plugin uses the deprecated FingerprintManager API. To use the new BiometricManager API in Android with additional options, switch to the cordova-plugin-biometric-auth plugin.

Platforms supported by plugin

  • Android 6+
  • iOS

Android screenshots

Methods

This is a summary of the demo app’s methods. Refer to plugin’s README for details

isAvailable

Check if fingerprint authentication is available on the device.

Remarks

  • Error callback returns BIOMETRIC_HARDWARE_NOT_SUPPORTED when the API is not available (API level < 23)

show

Show OS native authentication dialogue with the selected options and labels.

Remarks

  • fallbackButtonTitle seems to be ignored in most if not all Android devices.
  • subtitle and description cannot be unset once set.

Download demo app

Feedback

Use the comments section here for demo app-related issues, and the GitHub issues tracker for plugin-related ones.

New plugin now available

This fingerprint-aio plugin does not use the new BiometricManager API methods, does not provide device credentials authentication when no biometrics are enrolled or supported and does not work with Android 5. Try the new, simpler Biometric Auth Cordova plugin to address these and other issues.

More plugin demo apps

Check out the following Cordova plugin demo apps ready for download on your device. The source code is included for compiling to any platform.

Disclaimer

The content in this post is for general information purposes only. The information is provided by the author and/or external sources and while we endeavour to keep the information up to date and correct, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the post for any purpose. Some of the content and images used in this post may be copyrighted by their respective owners. The use of such materials is intended to be for educational and informational purposes only, and is not intended to infringe on the copyrights of any individuals or entities. If you believe that any content or images used here violate your copyright, please contact us and we will take appropriate measures to remove or attribute the material in question.