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

FingerprintAuthenticationResultStatus.Failed returned with some type of emulators and devices using Android 10+ #211

Open
olivertech opened this issue Aug 30, 2021 · 1 comment

Comments

@olivertech
Copy link

olivertech commented Aug 30, 2021

In some emulators and devices running Android 10+ it throwing a failed status, without using the finger or pressing button on emulator device, to simulate finger print.

The problem happend in this line below, using Pixel 3a Q 10.0 - API 29 (Android 10) emulator. In physical devices running Android 10 and 11, has also the same problem.

var authResult = await CrossFingerprint.Current.AuthenticateAsync(conf);

The problem do not happens in emulators below Android 10, like the ones, listed below:

  • Pixel 3 XL Nougat 7.1 - API 25 (Android 7.1)
  • Pixel 2 Oreo 8.0 - API 26 (Android 8.0)
  • Nexus 5X Pie 9.0 - API 28 (Android 9.0)
  • Pixel 2 Pie 9.0 - API 28 (Android 9.0)
  • Pixel 3a Pie 9.0 - API 28 (Android 9.0)

Steps to reproduce

  1. Just install Pixel 3a Q 10.0 API 29 (Android 10) emulator - It is one of the devices... There are others using Android 10+ to reproduce the problem. Any emulator ou devide using Android 10 or over

Expected behavior

Biometric popup should appears and stay on, until the finger print is used. The problem happens only in the first time. After this, in the second time and so on, biometric popup appears and stays on, waiting finger print.

Actual behavior

Biometric popup shows very quickly and disappears, throwing the status "FingerprintAuthenticationResultStatus.Failed"
This happens only in the first try.

The line below works after second try.

var authResult = await CrossFingerprint.Current.AuthenticateAsync(conf);

Crashlog

No crash error...

Configuration

Version of the Plugin: v2.1.4

Platform: Android 10+

Device: Pixel 3a Q 10.0 - API 29 (Android 10)

Xamarin Version: 4.7.0.1351 + MVVM Prism 7.2.0.1422

@smsissuechecker
Copy link

Hi @olivertech,

I'm the friendly issue checker.
Thanks for using the issue template 🌟
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants