authpass / biometric_storage

Flutter plugin to store data behind biometric authentication (ie. fingerprint)
https://pub.dev/packages/biometric_storage
MIT License
177 stars 104 forks source link

Android Lock Code with no fingerprint #24

Closed syky27 closed 3 years ago

syky27 commented 3 years ago

Hi, first of all thanks for your effort, I am using this package in my production app.

I have a question, would it be possible to authenticate user on Android when there is no fingerprint but the pass code/ pattern is set?

I am currently getting CanAuthenticateResponse.errorNoBiometricEnrolled

Thank you.

hpoul commented 3 years ago

I think this should be fixed with https://github.com/authpass/biometric_storage/pull/28 by setting allowBiometricOnly to false. Maybe you can give 3.0.0-rc.5 a try.

syky27 commented 3 years ago

Thanks! I'll check it out.