Coder Social home page Coder Social logo

Comments (5)

ebadta81 avatar ebadta81 commented on May 18, 2024

This solution resolved my problem

Could you please put it in the documentation?

from flutter.

huycozy avatar huycozy commented on May 18, 2024

I think this should be fixed on #111025 but I see you are already on the latest package version local_auth_android: 1.0.38.

I checked this again using Android emulator Pixel 3, Android 10 but couldn't reproduce the issue. I see you have two Android 10 devices (from flutter doctor output). Could you confirm this occurs on both your physical device and emulator?

from flutter.

ebadta81 avatar ebadta81 commented on May 18, 2024

In emulator, it does not occurs, because it has fingerprint biometric sensor. Also my zebra phone have android 10 build number: 10-16-10.00-QG-U00-STD-HEL-04, maybe it is not the same in emulator.

It is pretty clear to me, this is an android bug they already fixed with this jetpack package.

Fixed an issue where BiometricManager.canAuthenticate(int) would sometimes return the wrong status code for a device with a fingerprint sensor on Android 10 (API level 29). ([I72420](https://android-review.googlesource.com/#/q/I72420b5721ea41bae8b037f43ab8fbd49250ebf2), [b/176921662](https://issuetracker.google.com/issues/176921662))
Fixed an issue where BiometricManager.canAuthenticate(int) would return the wrong status code for a device with no biometric hardware and no enrolled PIN, pattern, or password on Android 10 (API level 29) and prior SDK versions. ([I79b7d](https://android-review.googlesource.com/#/q/I79b7dbf009c44582c4693be5d27dd850777ab4d1), [b/174505824](https://issuetracker.google.com/issues/174505824))

from flutter.

huycozy avatar huycozy commented on May 18, 2024

Thanks for checking emulator and quoting the related change of version androidx.biometric:biometric:1.2.0-alpha02. I don't have such an Android 10 physical device to check this but I think this is a valid issue. Perhaps we can just roll into new package version once biometric dependency releases stable version. Labeling this for other's thoughts.

from flutter.

reidbaker avatar reidbaker commented on May 18, 2024

Current status is we think that the issue is with the underlying biometrics androidx implementation. We are working on figuring out when their next stable release will be and leaving this bug open to track updating the dependency.

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.