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
Cancel biometric login overlay if authenticator is not in foreground #69
Comments
In my testing, the overlay is always cancelled when pressing the home button or switching apps. |
OnePlus 6 |
I've made a change that may or may not have fixed the issue. Essentially, it should cancel the prompt when the app loses focus. |
If you push a test release too me, I'd be happy to confirm prior to the official release. |
Sure, that would be great. Here's a build from the latest commit: |
Appears to work for me. |
Just tried it, sadly it did not work. Pressing above the Fingerprint section closes the app with the message I can switch between Recents, Home and the app using the on-screen keys without the authentication prompt disappearing |
Thanks for testing it. This might be a bug in a version of a library used. Android issue 149770989. I will look into it further. |
If it helps, Magisk Manager is open source on GH, and the auth functions as you'd expect it to. |
After checking the source of Magisk Manager, it doesn't seem to be doing anything different other than it doesn't allow device credentials (pin). This might have something to do with it as mentioned in the above issue. I will run some tests with the latest version of the biometrics library once it's released. |
1.14 no longer uses |
Can confirm the issue no longer exists in 1.13.1.
From: jmh <notifications@github.com>
Date: Saturday, 23 January 2021 at 3:23 am
To: jamie-mh/AuthenticatorPro <AuthenticatorPro@noreply.github.com>
Cc: jslawler <jslawler@outlook.com>, Author <author@noreply.github.com>
Subject: Re: [jamie-mh/AuthenticatorPro] Cancel biometric login overlay if authenticator is not in foreground (#69)
1.14 no longer uses setDeviceCredentialAllowed(true), so this problem might be solved. If the Android bug report is accurate that is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#69 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABN2DKI4KB7RS4WCPHEARUTS3GX77ANCNFSM4U3OKP6Q>.
|
Works for me, too. It's a bit awkward as the overlay lingers for half a second or so before disapperaing |
Thanks, the delay seems like normal Android behaviour, not much I can do about that. Case closed. |
Apps using the biometric login overlay generally dismiss the overlay if the app is switched/closed.
When switching/closing Authenticator, the biometric login overlay stays in the foreground until the user taps the dead space above the biometric login request.
This makes for an awkward action when cancelling the process in comparison to what apps usually do.
The text was updated successfully, but these errors were encountered: