-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command save
: unable to make userAuthenticationRequired
work
#49
Comments
I have just noticed the same, yet the code in the repo seems fine save: function(key,password, userAuthenticationRequired, successCallback, errorCallback) { |
If you use the last release version (3.2.1), just remove the "true" value after "PasswordGivenInAPasswordPrompt".
|
I think if you do this and enrolls your finger/face successfully you will always get errorCallback(message), where message equals "success". |
the npm library has changed so what is userAuthenticationRequired for?
the comment does not say what it is for |
I am trying to use
save
on IOS.My call is:
I get systematically the error
Error in Success callback: TouchID xyz - Type Error: callback.success.call is not a function
If I remove the
true
in the third position, everything is fine.It appears that the documentation about
save
is wrong: the third boolean paramuserAuthenticationRequired
seems to be no longer in place and the two places in the docs where it is mentioned and taken as example should be amended.The text was updated successfully, but these errors were encountered: