Open shirsh94 opened 4 years ago
I don't really have a need for a feature like this. But I'd be happy to review PR. (Btw i think a user can only have one form of biometric authentication activated?)
@shirsh94 use local_auth
btw. what exactly is the request here? To have an API which returns the type of authentication?
I was thinking about something like this, so that I could have a way to know programmatically which biometric method will be used.
I could then have a button to call the Biometric storage read() method that has an icon which will be the method of biometrics used. So for example, on my older Android 7 phone it would have a fingerprint icon, an older iPhone would have a fingerprint icon as well, and for a newer iPhone the same button would have a FaceID icon. (or it would be whatever the device supports, and which has been set up by the user)
Still need to rely on local_auth to retrieve the available biometrics options, any news on when this will be added?
i test this in Ios devices. which app need to show the user authentication image as per his device Supported. like Iphone XR support face lock(not fingerprint) and iPhone 5s support fingerprint(not face lock). so, As per his device i need to show button text and image there for authentication.