naoufal / react-native-touch-id

React Native authentication with the native Touch ID popup.
https://www.npmjs.com/package/react-native-touch-id
1.47k stars 476 forks source link

Android | isSupported returns boolean instead of string ('TouchID'/'FaceID') as it returns on IOS #155

Open ronilitman opened 6 years ago

ronilitman commented 6 years ago

Is this a bug or the right implementation you wanted? If yes, I think the README file should be updated.

tonmanayo commented 5 years ago

Having this issue as well, would be really nice if both IOS and Android were consistent

zibs commented 5 years ago

PR's are welcome!

gavaliswapnil commented 5 years ago

can this lib support to face authentication for android

saadmutahar commented 5 years ago

@gavaliswapnil well for now this library is not supported for android.

zibs commented 5 years ago

@saadmutahar to clarify - it does support android fingerprint authentication, it just does not support android face id yet.

GitHubTracey commented 5 years ago

It would certainly be handy if it returned Fingerprint, the same as iOS returns TouchID or FaceID instead of true - and then if Android Face is added, then it could change the return value as well...

saadmutahar commented 5 years ago

@zibs yeah sorry I was just about to write android faceId instead of android. Thank you.

akash4320 commented 5 years ago

Can anyone help me in letting know how to make Face ID authentication using react native then