sjhoeksma / cordova-plugin-keychain-touch-id

Touch ID plugin with saving password in keychain for IOS and android
87 stars 160 forks source link

userAuthenticationRequired does not work on Android #46

Open masjr opened 6 years ago

masjr commented 6 years ago

When trying to save a value on an Android device like so:

window.plugins.touchid.save("MyKey", "My Password", false, function() {
    alert("Password saved");
});

A fingerprint auth dialogue is displayed. This seems to work correctly on iOS. Note: setting to true has no effect.

meishier commented 5 years ago

same here, "Error string is to big" on android

harshgrovr commented 4 years ago

I get this error: Error in Success callbackId: TouchID1143937401 : ReferenceError: value is not defined

oicnev commented 4 years ago

Got this error message returned when I used the explicit 'true' for userAuthenticationRequired: "The old format of this exec has been removed (deperecated since 2.1). Change to: cordova.exec(null, null, 'Service', 'action', [arg1, arg2]);"