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

[iOS] errSecAuthFailed on consecutive reads #79

Open
hm122 opened this issue Jul 31, 2022 · 1 comment
Open

[iOS] errSecAuthFailed on consecutive reads #79

hm122 opened this issue Jul 31, 2022 · 1 comment

Comments

@hm122
Copy link

hm122 commented Jul 31, 2022

Issue
When doing consecutive reads on iOS with biometric authentication (FaceID), an exception is thrown:
Unhandled Exception: PlatformException(SecurityError, Error while Error retrieving item. -25293: -25293: The user name or passphrase you entered is not correct., null, null)
Tested with version 4.1.2 and current main branch.

Works without issues on Android.

Steps to reproduce
When using the example, change the following line https://github.com/authpass/biometric_storage/blob/main/example/lib/main.dart#L250
to

[...]
final result = await storageFile.read();
final result2 = await storageFile.read();
[...]         

Expected behaviour
Consecutive reads should not fail. The authentication prompt should appear for each read.

@mekhribonu-s-codexoptimus

any updates?

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