Home > Software engineering >  How to implement face id authentication in react native android?
How to implement face id authentication in react native android?

Time:10-21

I want to implement face authentication and TouchID (finger) in react native for both platform android and ios. I've implemented IOS side face authentication and TouchId authentication. I am using react-native-touch-id library

In android when i detect face id and try to authenticate with face but it takes finger instead of face.

How can i Implemented Both face and Touch id in android side for React-native app?

CodePudding user response:

try with this package, it supports both

https://www.npmjs.com/package/react-native-biometrics

P.S please install correct version depending of your react-native version

CodePudding user response:

It is not possible to use face recognition in android as a method of authentication, as android by default prefers fingerprint as the safest way to authenticate any applications.

  • Related