capacitor-biometric-auth
capacitor-biometric-auth copied to clipboard
How to cancel BiometricAuth.verify()
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.
Hi, I try on Pixel II and has a cancel button, also with back the popup is canceled

@abernabe91 yan you test this?
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.