xamarin-fingerprint
xamarin-fingerprint copied to clipboard
LAStatus.SystemCancel does not return FingerprintAuthenticationResultStatus.Canceled
I experience a minor issue in following situation:
- Start the app on iOS
- Start a new local authentication process. Cover the FaceID camera with a finger so that no successful authentication is possible.
- While the FaceID dialog is active, lock the iPhone.
- NativeAuthenticateAsync tries to handle the returned "LAStatus.SystemCancel" (probably...) which is not mapped to any FingerprintAuthenticationResultStatus. GetResultFromError just returns UnknownError.
Proposed Solution: Wouln't you better map SystemCancel to FingerprintAuthenticationResultStatus.Canceled? https://github.com/smstuebe/xamarin-fingerprint/blob/54807b69044d5f24efac4c0a6e70c7372684d7bc/src/Plugin.Fingerprint/Platforms/Apple/FingerprintImplementation.cs#L154
Thank you for your feedback + thanks for this plugin. Kindly appreciated.
Hi @thomasgalliker,
I'm the friendly issue checker. It seems like (100.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message. But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!
Issue template? I just tapped a line of code and selected "Create new issue from this line". There was no template displayed.🤷🏼♂️ I'm sorry. Hope it's still understandable.