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

Enter code Error: Fallback authentication mechanism selected. #60

Closed
alvarocasado opened this issue Apr 27, 2017 · 8 comments
Closed

Enter code Error: Fallback authentication mechanism selected. #60

alvarocasado opened this issue Apr 27, 2017 · 8 comments

Comments

@alvarocasado
Copy link

alvarocasado commented Apr 27, 2017

On IOs, trying to enter the authentication password after failing the fingerprint authentication, returns the following error:
Plugin.Fingerprint.Abstractions.FingerprintAuthenticationResultStatus.FallbackRequested : Fallback authentication mechanism selected.

This can be seen in the SMS.Fingerprint.Sample.iOS project.

Steps to reproduce

  1. Launch SMS.Fingerprint.Sample.iOS proyect

  2. Try to authenticate with wrong fingerprint. Enter code message appears.

  3. Click on "Enter code".

Expected behavior

Numeric keyboard to enter the code.

Actual behavior

Not loged. The option to enter the code does not appear

Crashlog

Configuration

Version of the Plugin: 1.4.3
Platform: iOS 10.2
Device: i Phone 5s

This issue is solved changing the following line (31) of the project Plugin.Fingerprint.iOS, class FingerprintImplementation, method NativeAuthenticateAsync:

resTuple = await _context.EvaluatePolicyAsync(LAPolicy.DeviceOwnerAuthenticationWithBiometrics, authRequestConfig.Reason);

by

resTuple = await _context.EvaluatePolicyAsync(LAPolicy.DeviceOwnerAuthentication, authRequestConfig.Reason);

@smsissuechecker
Copy link

Hi @alvarocasado,

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

@alvarocasado alvarocasado changed the title Enter code Error: Plugin.Fingerprint.Abstractions.FingerprintAuthenticationResultStatus.FallbackRequested Fallback authentication mechanism selected. Enter code Error: Fallback authentication mechanism selected. Apr 27, 2017
@smstuebe
Copy link
Owner

Simply changing it, can cause unwanted behavior on existing apps. I might make it configurable.

@alvarocasado
Copy link
Author

alvarocasado commented Apr 27, 2017 via email

@AndriyMahera
Copy link

Hi @smstuebe ,
Do you work on resolving this issue?
I'd want to know because this is important for my application. Should I wait for solution soon or make some workaround by myself?
Have a nice day.

@smstuebe
Copy link
Owner

If Quake Champions allows me to do something different, I'll have a look at it at the weekend.

@AndriyMahera
Copy link

Ok, thanks

smstuebe added a commit that referenced this issue May 21, 2017
@smstuebe
Copy link
Owner

Included in 1.4.4.
Feedback?

@AndriyMahera
Copy link

@smstuebe ,everything works good, very grateful.

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

4 participants