EddyVerbruggen / nativescript-fingerprint-auth

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

unique biometric ID associated with the fingerprint? #47

Closed fabriek-huis closed 5 years ago

fabriek-huis commented 5 years ago

is there a way to return a unique biometric ID associated with the fingerprint?

for example? -

fingerprintAuth.available().then(
        function(avail) {
            fingerprintAuth.verifyFingerprint({
                  message: "Scan with your finger",
                  fallbackTitle: "Enter PIN"
              }).then(function() {
                  console.log("return....unique biometric ID?!"); // how do i return it? 
              }, function(error) {
                  console.log("error.....");
              });
        }
)
EddyVerbruggen commented 5 years ago

No. That's not available in the SDKs. Check fi. Apple's docs on Touch ID.

fabriek-huis commented 5 years ago

How do we associate the account with the touch authentication?

EddyVerbruggen commented 5 years ago

That's up to you(r app logic). But the bottom line is: only 1 user can use touchid to log in. I'm pretty sure you can't find an app where multiple profiles can log in with their own fingerprints.

fabriek-huis commented 5 years ago

@EddyVerbruggen thanks eddy I get you. cheers