SelfLender / react-native-biometrics

React Native module for iOS and Android biometrics
MIT License
657 stars 224 forks source link

Is biometrics allowed? #270

Open zvitek opened 9 months ago

zvitek commented 9 months ago

Hi, the bridge offers you the possibility to check if there is a biometric identification option on the device. Is there any way to know if the user has it enabled? I would hate to offer users an option they don't have enabled.

Thank you

sbaiahmed1 commented 8 months ago

If FaceID (for example) is disabled in iOS the method isSensorAvailable will return unknown as a response so if the response is unknown feel free to show/hide the component you made for FaceID