Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17744] iOS8: Touch ID Feature Request to support separate call for canEvaluatePolicy

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-10-15T16:23:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.2, Release 3.5.0, Release 4.0.0
ComponentsiOS
Labelsmodule_touchid
ReporterEduardo Gomez
AssigneeChee Kiat Ng
Created2014-09-23T20:26:07.000+0000
Updated2014-11-26T07:58:53.000+0000

Description

Feature Description

Reviewing the documentation and working with the Ti 3.4 SDK we have discovered that the only call available on the touchid module is to the function "authenticate". Without the ability to separately call a function that interfaces with the iOS canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometric we are unable to make a check that determines if Touch ID has being configured correctly on this device. We need to functionality to alert the user when they attempt to setup this feature in our client.

Request

We realize that canEvaluatePolicy is invoked as part of the authenticate function, but this does not suit our needs as we do not want to prompt the user for touch id when all we want to do is determine if its configured. Ideally we would like a function that implements the following:
if ([context canEvaluatePolicy: LAPolicyDeviceOwnerAuthenticationWithBiometrics error:nil]) 
{ 
// return true 
}

Comments

  1. Ingo Muschenetz 2014-09-26

    Since the module is already packaged with the SDK, ad I do not see us providing an updated module in 3.4.0, deferring this to 3.4.1. However, we should still merge the PR now.
  2. Chee Kiat Ng 2014-09-30

    New PR here: https://github.com/appcelerator-modules/ti.touchid/pull/9
  3. Vishal Duggal 2014-10-15

    New PR's https://github.com/appcelerator-modules/ti.touchid/pull/10 Titanium Updates master - https://github.com/appcelerator/titanium_mobile/pull/6224 3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6223 titanium_release update 3_4_X - https://github.com/appcelerator/titanium_releases/pull/3 master - https://github.com/appcelerator/titanium_releases/pull/4
  4. Kajenthiran Velummaylum 2014-11-26

    Verified the feature. Closing the ticket. Test Environment: Titanium SDK: 3.5.0.v20141125154115 Appc-Studio: 3.4.1 GA Titanium CLI: 3.4.1 GA Alloy : 1.5.1 GA Xcode : 6.1 OS: OSX 10.10.1 Device : iPhone 6plus (iOS 8.1)

JSON Source