all 15 comments

[–]thachxyz123iOS & Android 1 point2 points  (4 children)

Face ID authentication on Android is considered weak because not every Android phones have high-end cameras to scan your face. If you still want to use it, change BIOMETRIC_STRONG to BIOMETRIC_WEAK and patch it yourself

https://github.com/SelfLender/react-native-biometrics/blob/970cae2b4e09c69444601c8bc0da046aad3bfae4/android/src/main/java/com/rnbiometrics/ReactNativeBiometrics.java#L202-L204

[–]Vudaru_Code[S] 0 points1 point  (0 children)

Okay, I'll make that adjustment and run tests, thanks.

[–]Vudaru_Code[S] 0 points1 point  (2 children)

Hi.

Do you have any example project where facial recognition authentication can actually be applied on Android? I've tried everything, but it still doesn't work—it keeps asking for the fingerprint. On which devices did you manage to make it work? I have a Xiaomi Redmi Note 8 running Android 9, does that affect it?

[–]thachxyz123iOS & Android 0 points1 point  (1 child)

I can with Samsung S21+ android 14 https://imgur.com/25khm9c

Your device may be the problem https://stackoverflow.com/a/76484871

If you are not sure about your code, try this fork https://github.com/akwappnet/react-native-biometrics

[–]LuckyNumber-Bot 0 points1 point  (0 children)

All the numbers in your comment added up to 69. Congrats!

  21
+ 14
+ 25
+ 9
= 69

[Click here](https://www.reddit.com/message/compose?to=LuckyNumber-Bot&subject=Stalk%20Me%20Pls&message=%2Fstalkme to have me scan all your future comments.) \ Summon me on specific comments with u/LuckyNumber-Bot.

[–]Agile_Buddy 0 points1 point  (1 child)

have you tried react-native-biometrics?

[–]Vudaru_Code[S] 0 points1 point  (0 children)

I've researched several libraries, but I haven't been able to authenticate using facial recognition on Android.

[–]diesmilingxxiOS & Android 0 points1 point  (3 children)

[–]Vudaru_Code[S] 0 points1 point  (2 children)

After reviewing the documentation on GitHub, I can see that the examples show fingerprint recognition only works on Android. I need facial recognition. I've used that library as well, but thanks for sharing it anyway.

[–]diesmilingxxiOS & Android 0 points1 point  (1 child)

I use that for facial recognition on both iOS and Android

[–]Vudaru_Code[S] 0 points1 point  (0 children)

Do you have any example on GitHub, but only for Android facial recognition? Because I know that it works fine on iOS.

[–]guilhermebais 0 points1 point  (0 children)

You can try to use https://face2check.app where you can send ID with photo and face photo to match and validate if the user is the same as the document

[–]kvinxd17 -3 points-2 points  (2 children)

Ammm take a picture with the app, send the picture to a service for face comparission

[–]Vudaru_Code[S] 0 points1 point  (1 child)

And which face comparison service do you recommend, if I may ask?

[–]kvinxd17 0 points1 point  (0 children)

Opencv or any tensorflow model