rushisangani / BiometricAuthentication

Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.
MIT License
831 stars 110 forks source link

touchIDAvailable() #22

Closed gintechsystems closed 6 years ago

gintechsystems commented 6 years ago

Hello,

I think it would be useful to be able to see if touch id is available for devices that may not support the option or I believe if the device has touch id but is turned off, LAContext returns false. It would basically be a copy of faceIDAvailable() function just swapped with touchID biometric type. If you need me to create a pull request I can help out.

Thanks Joe

rushisangani commented 6 years ago

@gintechsystems It would be great if you can add that touchIDAvailable function, to make it more useful.

Thanks

gintechsystems commented 6 years ago

@rushisangani I will implement this when I can, thank you.

rushisangani commented 6 years ago

Please upgrade to the latest version 2.1

gintechsystems commented 6 years ago

@rushisangani, thank you for doing this. I never got around to it as I was manually just doing the local auth context code for now as a workaround :)