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

How to cancel BiometricAuth.verify() #8

Open
bernadev91 opened this issue Apr 15, 2020 · 3 comments
Open

How to cancel BiometricAuth.verify() #8

bernadev91 opened this issue Apr 15, 2020 · 3 comments

Comments

@bernadev91
Copy link

I am using this plugin. On ios it works great because the touch ID popup has a "cancel" button that can be pressed.

However, in my Android device (One Plus 6T with in-screen fingerprint scanner), the fingerprint overlay appears, but there's no way to cancel it.

If I add a button labeled "Cancel", I can't dismiss it because the plugin is still waiting for the fingerprint to be entered.

Is there any way to cancel or dismiss the action that was initiated by BiometricAuth.verify() ?

That would help with my integration a lot because I can let the user cancel the authentication and enter their login details manually instead. Otherwise they would be forced to use the biometric authentication.

@arielhernandezmusa
Copy link
Owner

Hi, I try on Pixel II and has a cancel button, also with back the popup is canceled

Screen Shot 2020-04-18 at 22 42 09

@arielhernandezmusa
Copy link
Owner

@abernabe91 yan you test this?

@bernadev91
Copy link
Author

On my One Plus 6T the fingerprint overlay appears, but there's no way to dismiss it.

And if you use the "back button" gesture, it goes back in the ionic screen stack, but the overlay is still there.

I think it depends from one device to another, that's why it would be positive to have a way to cancel the event manually.

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