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

return a reason for RxFingerprint.IsAvailable #94

Open
ndori opened this issue Apr 4, 2018 · 1 comment
Open

return a reason for RxFingerprint.IsAvailable #94

ndori opened this issue Apr 4, 2018 · 1 comment
Labels

Comments

@ndori
Copy link

ndori commented Apr 4, 2018

when a fingerprint is unavailable there can be several reasons, the hardware is not supported, no enrolled fingerprint.....

I want to show a reason for the user because he might be able to do something about it, (e.g. enroll a fingerprint, buy a new device...)

so instead of checking every reason one by one, just send the reason so developers can act accordingly

@Mauin
Copy link
Owner

Mauin commented Apr 5, 2018

Starting with Android P and the deprecation of FingerprintManager there won't be any way (that I currently know of) to determine the concrete reason. The reason will then be propagated as an error or help callback directly as far as I can tell. That would make this more in line with #93

@Mauin Mauin added the question label Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants