EddyVerbruggen / nativescript-fingerprint-auth

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner or facial recognition!
MIT License
134 stars 33 forks source link

No way to know if biometrics permission has been denied (ios) #80

Open erjdriver opened 4 years ago

erjdriver commented 4 years ago

Right now with just available() call - there seems to be no way to detect when there's a biometric feature but user has denied access to the app.

The available function seems to know about - but doesn't pass this critical piece of info back.

So no way for the app to tell the user - please enable permissions etc.

Passing the info back on the resolve() would fix the issue.

Or another method that returns a boolean based on disabled or not.