EddyVerbruggen / nativescript-fingerprint-auth

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

Several changes #51

Closed bradmartin closed 5 years ago

bradmartin commented 5 years ago

This might be the behavior of using the verifyFingerprintWithCustomFallback on iOS. I'm not 100% on its purpose or implementation at the moment. However, now Android seems to have the option to let the developer have some sort of fallback if the fingerprint is not an option 👍.

Sorry for the formatting changes, I didn't realize that until I made the PR. I run prettier locally so it's just their defaults on breaks, spacing, etc. I did add some types in the android source code to help with intellisense. iOS source didn't actually undergo any source code changes at this time. However, I have run into a case where the user can lock the Biometrics out and I've checked that locally in my app to let the user know, so maybe I'll think of a PR for that in future.

EddyVerbruggen commented 5 years ago

Excellent work, my friend!