A community member has associated this post with a similar question:
Biometrics enrollment & authentication in Xamarin Forms

Only moderators can edit this content.

Biometric authentication - Fingerprint / Touch ID / Face ID im Xamarin Forms

VPrasanth 51 Reputation points
2021-11-06T12:47:25.783+00:00

Is there any best way to implement and achieve the below scenarios, in using Face Recognition / Fingerprint / Face ID / Touch ID in Xamarin Forms.

The approach should identify,

  • Detect if the device is having required hardware
  • Detect if the user had enabled either of it
  • Detect if fingerprints/Face ID is properly enrolled
  • Detect if the app can use this authentication
  • Detect the number of retries the user had performed

I had tried using the PlugIn.Fingerprint and Biometric prompt approach as well, but I don't see the solution is not that feasible.

The Biometric prompt Authenticate method doesn't await till the user authenticates.
The Authentication call back is not giving more details on failure.
The Cancel / Negative button is mandatory with new APIs.

The plugin is straightforward., but it's not helping to detect the above scenarions without calling Authenticate method.

Can someone help if there is any best approach of implementing the biometrics authentication for both Android and iOS in Xamarin Forms.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
0 comments No comments
{count} votes