Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2325] iOS: Ti.TouchID - invalidate() does not work with multple auth-contexts

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-03-20T19:43:37.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.1.0
ComponentsTouchID
Labelsinvalidate, ios, qe-6.1.0, touchid
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-02-23T12:41:50.000+0000
Updated2017-05-24T14:17:46.000+0000

Description

We introduced the invalidate method in Ti.TouchID 2.1.0 to allow the user to prevent the auth-response from being cached if desired. Use-case: Use TouchID in different places of the app. This works for one-time executions, but fails when authenticating again, because the context is invalidated but still in memory. Fix is in place, opening this ticket for lookup.

Comments

  1. Hans Knöchel 2017-02-24

    PR: https://github.com/appcelerator-modules/ti.touchid/pull/28
  2. Vijay Singh 2017-03-07

    [~emerriman] [~hansknoechel] On GitHub for this module, I am not getting label 'in-qe-testing'. Probably we have to add there.
  3. Harry Bryant 2017-05-24

    Verified as fixed, using the touchID module v 2.1.2, the TiTouchId.invalidate(); method now correctly prompts for verification on multiple auth attempts. Tested On: Ti.touchid module (2.1.2) iPhone 7 10.3.2 Device Mac OS Sierra (10.12.2) Ti SDK: 6.1.0.v20170115172707 Appc NPM: 4.2.9-1 Xcode 8.2.1 Node v4.6.0 *Closing ticket.*

JSON Source