xamarin-fingerprint icon indicating copy to clipboard operation
xamarin-fingerprint copied to clipboard

System cancels being reported as "unknown errors" rather than cancellation

Open mlyrstad opened this issue 3 years ago • 2 comments

To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather. Just imagine: we do not know what you are doing!

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.

There are cancel results, due to iOS actions, which are being reported as "unknown errors" when they should be reported as a form of cancel, so we can act appropriately. The reason for the difference is the need to log eventual actual errors.

Steps to reproduce

  1. Let the app open the authentication system on an iPhone (problem reproduced with face-ID and fingerprint)

  2. Press the iPhone's "home" button, easiest way is to not use the registered finger, so it doesn't recognize your fingerprint

  3. Examine the results

Expected behavior

Should report a cancellation (probably just Canceled?)

Actual behavior

Says "unknown error" => "canceled by the system" or something of the sort

Crashlog

Configuration

Version of the Plugin: e.g. 1.0.0 / 1.0.1-alpha3 2.1.4

Platform: e.g. iOS 10.1 / Android 4.4 / ... (including version!!! e.g. Android 5.1 / i0S 10) iOS 13.3.1

Device: e.g. HTC Sensation /i Phone 7 ... iPhone 8 Plus

mlyrstad avatar Aug 10 '21 13:08 mlyrstad

Hi @mlyrstad,

I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

smsissuechecker avatar Aug 10 '21 13:08 smsissuechecker

This is still not working properly :(

tranb3r avatar Oct 14 '22 09:10 tranb3r