User triggers fingerprint dialog from a button press. Handler looks something like the following:
private async Task ButtonHandler()
{
var authenticationRequestConfiguration = new AuthenticationRequestConfiguration(title, reason)
{
AllowAlternativeAuthentication = false,
CancelTitle = "cancelTitle",
FallbackTitle = "fallbackTitle",
};
var result = await CrossFingerprint.Current.AuthenticateAsync(authenticationRequestConfiguration);
// awaited code here is executed after user interacts with fingerprint dialog
...
...
}
User dismisses the fingerprint dialog by pressing 'x' button
User attempts 1. again
Expected behavior
UI: Fingerprint dialog is presented to the user.
Code: AuthenticateAsync result is awaited until user interacts with the presented dialog.
Actual behavior
UI: Fingerprint dialog is not presented to the user.
Code: AuthenticateAsync result is immediately returned with a Status of FingerprintAuthenticationResultStatus.Failed with ErrorMessage of “Fingerprint Operation Cancelled”.
Crashlog
No crash
Configuration
Version of the Plugin: Plugin.Fingerprint 2.1.2
Platform: Android 9 (API 28)
Device: Huawei Mate 20 Pro
Notes
This issue doesn't happen on other Android 9 devices (only Huawei Mate 20 Pro appears to show the issue).
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
Steps to reproduce
User dismisses the fingerprint dialog by pressing 'x' button
User attempts 1. again
Expected behavior
UI: Fingerprint dialog is presented to the user. Code:
AuthenticateAsync
result is awaited until user interacts with the presented dialog.Actual behavior
UI: Fingerprint dialog is not presented to the user. Code:
AuthenticateAsync
result is immediately returned with aStatus
ofFingerprintAuthenticationResultStatus.Failed
withErrorMessage
of “Fingerprint Operation Cancelled”.Crashlog
No crash
Configuration
Version of the Plugin: Plugin.Fingerprint 2.1.2
Platform: Android 9 (API 28)
Device: Huawei Mate 20 Pro
Notes