Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25479] iOS: Wrong options shown on TouchID authentication failure

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-11-03T22:45:57.000+0000
Affected Version/sRelease 6.2.2
Fix Version/sn/a
ComponentsiOS
Labelsn/a
Reporter Ricardo Ramirez
AssigneeUnknown
Created2017-11-03T21:55:52.000+0000
Updated2018-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

FileDateSize
Ti.TouchID.zip2017-11-03T21:51:14.000+00007828835

Comments

  1. Hans Knöchel 2017-11-03

    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-fallbackTitle
  2. Eric Merriman 2018-08-06

    Closing as "not our bug". If you disagree, please reopen.

JSON Source