-
Notifications
You must be signed in to change notification settings - Fork 458
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
Fix fingerprint APIs on android 9 and switch to android X #283
Conversation
What's the status on this? |
I was asking what's the status on fixing the conflicts.. 😂 |
Resolved |
@danog thanks! |
ping, could someone merge this |
This comment has been minimized.
This comment has been minimized.
@danog Do these help? #246 |
Fix fingerprint scanning on android 9 by implementing the BiometricPrompt APIs.
The Fingerprint wrapper now supports setting a custom prompt title, subtitle, description and cancel button text (w/ termux/termux-api-package#81).
Also upgraded the compat libraries, now using the recommended androidx.
Techincally, I should've probably substituted the FingerprintManager API with the BiometricManager API, but the androidx compat BiometricManager polyfill hasn't been released yet, and I didn't fill like changing the SDK target to android Q just yet, so for now I just switched to the FingerprintCompat library for sensor detection.
Fixes #261
P.S. I also kinda wanted to implement #246, but I wasn't sure on how exactly to go about it, since transmitting the secrets to the API via a public intent didn't seem exactly secure to me.
I welcome suggestions <3<3<3