[TIMOB-25479] iOS: Wrong options shown on TouchID authentication failure
GitHub Issue | n/a |
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2017-11-03T22:45:57.000+0000 |
Affected Version/s | Release 6.2.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Ricardo Ramirez |
Assignee | Unknown |
Created | 2017-11-03T21:55:52.000+0000 |
Updated | 2018-08-06T17:52:07.000+0000 |
Description
Issue Description
We have used TouchID in our app to authenticate user. We have set authenticationPolicy to Modules.TouchId.AUTHENTICATION_POLICY_BIOMETRICS and see we saw below issue with it.
When user try to authenticate himself and he got failed, it will show alert box with below 2 options,
1. Enter Password
2. Cancel
Both are doing the same thing. They are closing popup. We think "Enter Password" option is irrelevant over here until and unless we set authenticationPolicy property to Modules.TouchId.AUTHENTICATION_POLICY_PASSCODE. We believe "Enter Password" option only be shown in case if user set set authenticationPolicy property to Modules.TouchId.AUTHENTICATION_POLICY_PASSCODE explicitly.
Attachments
The "Enter Password" option is provided by iOS and cannot be hidden (and never could in the past). But - you can set the
fallbackTitle
property since iOS 10+ to provide an own title. The reason is that Apple always want to have an alternative being present when the TouchID-flow fails. Please get in touch with Apple if you feel this behavior is incorrect and let us know if you have further questions! More infos: - https://stackoverflow.com/questions/28103575/how-to-remove-enter-password-and-cancel-button-from-touch-id-alert-view - https://stackoverflow.com/a/34721754/5537752 - http://docs.appcelerator.com/platform/latest/#!/api/TouchIdAuthenticationType-property-fallbackTitleClosing as "not our bug". If you disagree, please reopen.