Is this normal ios funtionality for fingerprint and keystore?


#1

We had started using cordova and got fingerprint working for ios and android.

Trying to convert it over to ionic. Most of the code was a copy line for line.

After the user logs in store off the password for the login.

this.keychain.set(userName, password, true);
I guess true to for touch Id to get the value out?

this.keychain.get(userName).then(result =>
password = result
)};

This works, the problem is on ios, it asks for their fingerprint, then it seems to asks for their fingerprint to unlock the keystore ?

If I turn off the touch Id value for the keystore. I for some reason get extra fingerprints after.

Another developer wrote our fingerprint code before we just trying to save it. Might be worth rewriting it for Ionic.