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

iOS verifyFingerprintWithCustomFallback() method fallback error alert freezes the UI #10

Open
Jaishankarb opened this issue Jul 5, 2017 · 2 comments

Comments

@Jaishankarb
Copy link

we have used this plugin to login using the touch id and we are facing the following issue

when i call the function verifyFingerprintWithCustomFallback() on load for the success scenario it works but in iOS after continuous failed attempt the Biometry is locked so when you call this function on load it executes the error i am just triggering the alert in this error block.

now the alert window freezes the UI please see the attached Screen shot

this.fingerprintAuth.verifyFingerprintWithCustomFallback({ message: 'Sign in with the online ID ' + this.userName.substring(0, 3) + this.userName.substring(3).replace(/./g, '*'), // optional fallbackMessage: 'Password' // optional }).then( () => { this.navHome(); }, (error) => { dialogs.alert({ title: "Touch ID is locked out`",
message: ("please lock the device and unlock the device"),
okButtonText: "Ok"
});

    }
  });

}`

screen shot 2017-07-05 at 11 49 09 am

@EddyVerbruggen
Copy link
Owner

Add a little timeout before showing the alert. There can be one 1 alert at a time on ios.

@Jaishankarb
Copy link
Author

thanks on set time out it is working as expected

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

2 participants