Skip to content
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

passcode not showing after FACEID failed on Iphone 11 #71

Open
ukenpachi opened this issue Apr 6, 2020 · 0 comments
Open

passcode not showing after FACEID failed on Iphone 11 #71

ukenpachi opened this issue Apr 6, 2020 · 0 comments

Comments

@ukenpachi
Copy link

Hi guys, on iPhone 11 after face id failed. I get the option to use a passcode, however, this is not showing up for me to enter the password, instead the error callback method is called.
This happens for to both .save and .verify

window.plugins.touchid.has('refresh_token', function () {
    window.plugins.touchid.verify('refresh_token', 'Verify yourself', function (password) {
        console.log("Touch " + password);
    }, function (error) {
       //this the errorCallback I am referring to
        console.log(JSON.stringify(error)); 
        //{"OS": "IOS", "ErrorCode":"-3", "Error-Message":"Fallback authentication mechanism selected"}
    });
    }, function () {
        window.plugins.touchid.save('refresh_token', credentials.refresh_token, true, function (res) {
            console.log("Password saved");
        }, function (error) {
            console.log('we got an error');
    });
}); 

just wondering if I need to do something exist. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant