[MOD-2325] iOS: Ti.TouchID - invalidate() does not work with multple auth-contexts
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-03-20T19:43:37.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.0 |
Components | TouchID |
Labels | invalidate, ios, qe-6.1.0, touchid |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-02-23T12:41:50.000+0000 |
Updated | 2017-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.
PR: https://github.com/appcelerator-modules/ti.touchid/pull/28
[~emerriman] [~hansknoechel] On GitHub for this module, I am not getting label 'in-qe-testing'. Probably we have to add there.
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.*