Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24094] Ti.TouchID module timeout extension

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-11-03T16:08:13.000+0000
Affected Version/sRelease 5.5.1
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNeeraj Mishra
AssigneeHans Knöchel
Created2016-11-03T11:51:05.000+0000
Updated2017-03-24T18:56:50.000+0000

Description

Description

The Ti.TouchID module seems to timeout after 30 mins. Is it possible to extend that timeout to 4 hours?

Result:

User gets prompted for touchID after 30min

Expected Result

Increase the timeout configurable so that it can be extended up to 4 hrs or any value. Or any possible workaround.

Comments

  1. Hans Knöchel 2016-11-03

    As discussed on Flowdock, this is not technically possible. But as I just finished TIMOB-20547 today, you could use [this snippet](https://gist.github.com/hansemannn/e4b6015c7470658214ed42ccd7efca15) to call the new invalidate() method to hide the dialog and show it again. So for example, they could use a timeout of 15 minutes to invalidate() and authenticate() again. As said before, Apple does not offer any other way to this behavior (primary because of usability and privacy reasons). Thx! *EDIT*: The 2.1.0 (beta) release can be found [here](https://github.com/appcelerator-modules/ti.touchid/releases/tag/2.1.0-beta.1). It includes an updated app.js with all new features as well. The docs will be available online as soon as it is merged, probably next week.
  2. Lee Morris 2017-03-24

    Closing ticket with reference to the previous comments.

JSON Source