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

Docs: Add workaround notice when biometry is canceled in non-standard way #272

Closed
hvge opened this issue Dec 6, 2019 · 1 comment
Closed
Assignees

Comments

@hvge
Copy link
Member

hvge commented Dec 6, 2019

We should add a notice, or warning to the iOS documentation, that application may add a custom workaround to handle situations where Touch/Face ID is displayed, and the user cancels the biometric authentication in the non-standard way. That may happen when user hits the power button, home button (Touch ID), or exits the application in other way (like swipe on Face ID devices). The problem is that at the SDK level, we cannot distinguish between a regular biometric authentication failure and this kind of cancelation. For both cases, iOS returns the same error errSecAuthFailed.

Related to #271 #9

@hvge
Copy link
Member Author

hvge commented Nov 10, 2022

Version 1.7.5 has an improved authenticateUsingBiometry() function that can be used as a workaround for this issue. See our documentation for more info.

The problem will be properly fixed in 1.8.x release.

@hvge hvge closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant