In blog Better Biometrics in Android P they said: "To keep users safe, most apps and devices have an authentication mechanism, or a way to prove that you're you. These mechanisms fall into three categories: knowledge factors, possession factors, and biometric factors. Knowledge factors ask for something you know (like a PIN or a password), possession factors ask for something you have (like a token generator or security key), and biometric factors ask for something you are (like your fingerprint, iris, or face)".
But when I read in BiometricPrompt API, I can't see document for iris or face, authenticate only support for fingerprint: "This call warms up the fingerprint hardware, displays a system-provided dialog, and starts scanning for a fingerprint. It terminates when BiometricPrompt.AuthenticationCallback.onAuthenticationError(int, CharSequence) is called..." How I can use Biometrics to create authentication login with iris and face or any other solution for this?
The five most common types of biometric identifiers are: fingerprints, facial, voice, iris, and palm or finger vein patterns. As an example, banks need your biometric data in order to provide their various services remotely.
Facial recognition involves the system recognizing your face by reading characteristics, such as the distance between your eyes, ears, and so on. Iris recognition involves the system looking at the pattern in one or both of the irises in your eye.
Iris recognition or iris scanning is the process of using visible and near-infrared light to take a high-contrast photograph of a person's iris. It is a form of biometric technology in the same category as face recognition and fingerprinting.
Identity Verification Facial Recognition verifies identities based on unique facial characteristics from a photograph or video. Iris Scanning verifies identities based only on the iris from a photograph.
FingerprintManager
class to provide support for fingerprint sensors. FingerprintManager
class.BiometricPrompt
class.
BiometricPrompt
.
BiometricManager
class that developers can use to query the availability of biometric authentication
BiometricManager
doesn't give you information about the available methods, it just returns whether there is at least one available or not.BiometricManager
doesn't allow you to know which biometric method is being used.BiometricManager
doesn't allow you to select a preferred method if the device supports multiple methods.About the iris scanners, several OEMs (e.g. Samsung) have already integrated the implementations of their iris sensors with the Biometric API. However, Android doesn't provide a standard API for OEMs to interact with the iris sensors yet (as far as I know), which prevents AOSP-based ROMs to access the iris sensors.
In the AOSP issue tracker, there is an open ticket for "Adding Biometrics Iris HAL interface", that aims to create a HAL interface to standardize how the Android framework communicates with iris scanners. Unfortunately, the last progress made in the ticket was in March 2018.
BIOMETRIC_STRONG
: Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Strong, as defined by the Android CDD.BIOMETRIC_WEAK
: Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Weak, as defined by the Android CDD.DEVICE_CREDENTIAL
: The non-biometric credential used to secure the device (i.e., PIN, pattern, or password).ACTION_BIOMETRIC_ENROLL
intent action invokes system settings and requests the user to enroll a biometric hardware element. You can provide the strength level as an extra.getAuthenticationType()
that allows you to check whether the user authenticated using biometric or device credentials.References
Android 9 only includes support for the Fingerprint aspect of biometric authentication. Iris and facial recognition will be supported down the line. Note that this results in the deprecation of the previous FingerprintManager APIs when writing apps for Android P.
Android 9 only includes fingerprint integration for BiometricPrompt. However, integrated support for other biometric modalities are forthcoming.
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With