Touch ID
Scan the fingerprint of a user with the TouchID sensor.
Requires Cordova plugin: cordova-plugin-touch-id
. For more info, please see the TouchID plugin docs.
https://github.com/EddyVerbruggen/cordova-plugin-touch-id
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
#
Supported Platforms- iOS
#
Usage#
ReactLearn more about using Ionic Native components in React
#
Angular#
Error CodesThe plugin will reject for various reasons. Your app will most likely need to respond to the cases differently.
Here is a list of some of the error codes:
-1
- Fingerprint scan failed more than 3 times-2
or-128
- User tapped the 'Cancel' button-3
- User tapped the 'Enter Passcode' or 'Enter Password' button-4
- The scan was cancelled by the system (Home button for example)-6
- TouchID is not Available-8
- TouchID is locked out from too many tries