Hi friend! Meet us at App.js Conf in Krakow, Poland on April 4th and 5th with workshops and talks. Learn more
Use TouchID (iOS) or the Fingerprint API (Android) to authenticate the user with a fingerprint scan.
Determine whether the Fingerprint scanner is available on the device.
A boolean indicating whether the Fingerprint scanner is available on this device.
Determine whether the device has saved fingerprints to use for authentication.
A boolean indicating whether the device has saved fingerprints for authentication.
Attempts to authenticate via Fingerprint.
Android - When using the fingerprint module on Android, you need to provide a UI component to prompt the user to scan their fingerprint, as the OS has no default alert for it.
(iOS only) promptMessage (string) A message that is shown alongside the TouchID prompt.
An object containing success, a boolean indicating whether or not the authentication was successful, and error containing the error code in the case where authentication fails.