Facial Authentication in Xamarin Android

SnapADragon 1 Reputation point

I am trying to add an option in my Xamarin Android application to authenticate using Face registered in the Android settings.
I already have Fingerprint Authentication implemented but I can't seem to find any API exposed by Xamarin for Facial Authentication. And the API exposed by native Android seems to handle Biometric Authentication in general, and does not expose a separate API for Facial Authentication.

Does anyone have more information on this?

Please note that I am not looking for Facial Recognition - All the solutions I have found so far talks about Recognition and not Authentication.

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

1 answer

Sort by: Most helpful
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,746 Reputation points


    Welcome to Microsoft Q&A!

    From Android 10 (API level 29) we can use AndroidX Biometric Library to authenticate , the library does not expose a separate API for Facial Authentication because it is not responsible for targeting specific form-factors . If a device supports facial biometrics, then you will see a prompt for facial authentication; if your device supports fingerprint biometrics, then you will see a prompt for fingerprint authentication; and so on.

    Please check details


    Thank you.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments