{ "id": "161751", "key": "MOD-2272", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17524", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-14" }, { "id": "17723", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-13T21:15:49.000+0000", "created": "2016-07-13T03:48:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.4.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-26T17:47:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14565", "name": "TouchID" } ], "description": "isSupported() return TRUE even for iPhone4S and iPhone 5 which doesn't have finger print sensor.\r\n\r\nh6.Reproduce:\r\n1.Add the example code into app.js.\r\nhttps://github.com/appcelerator-modules/ti.touchid/blob/master/ios/example/app.js \r\n2. Run the app on 3 different devices.\r\n\r\nh6.Actual\r\nisSupported() return TRUE even for iPhone4S and iPhone 5 which doesn't have finger print sensor.\r\n\r\nh6.Expect\r\nisSupported() should return false for device doesn't have finger print sensor\r\n\r\nh6.Note\r\nCustomer tested iOS version 8 and above on iPhone 4S and iPhone 5", "attachment": [], "flagged": false, "summary": "TouchId Module: isSupported() return TRUE even for iPhone4S and iPhone 5 which doesn't have finger print sensor. ", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "Module 1.2.1\r\niOS 8 and 9\r\niPhone 6, 5 and 4s", "closedSprints": [ { "id": 682, "state": "closed", "name": "2016 Sprint 15 SDK", "startDate": "2016-07-16T00:19:20.819Z", "endDate": "2016-07-30T00:19:00.000Z", "completeDate": "2016-08-01T04:40:11.421Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "390620", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Use demo-code from repo.\r\n\r\nPR:https://github.com/appcelerator-modules/ti.touchid/pull/20\r\n\r\n", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-13T17:50:46.000+0000", "updated": "2016-07-13T17:50:46.000+0000" }, { "id": "390635", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed, good job!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-13T21:15:50.000+0000", "updated": "2016-07-13T21:15:50.000+0000" }, { "id": "390640", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~sliang] the fix is in 5.4.0.v20160713141635", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-13T22:01:44.000+0000", "updated": "2016-07-13T22:01:44.000+0000" }, { "id": "390687", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Exactly. As discussed during review, if a device is not set-up for TouchID, it will return FALSE, because the check is context-based. *EDIT*: Also updated the [Releases tab|https://github.com/appcelerator-modules/ti.touchid/releases/tag/iOS-1.2.2]\r\n\r\n*EDIT2*: See [this video|https://youtu.be/uQs1HXYnFKY] for a demonstration. If the user has TouchID but didn't activate it, it is not supported *in the current app-context*. As soon as he activates it and calls the check again, it will return true.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-14T07:10:51.000+0000", "updated": "2016-07-14T07:46:52.000+0000" }, { "id": "391529", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Here are the results from the following cases:\r\n\r\n*iPhone 4S:* returned FALSE.\r\n*iPhone 5S with FingerPrint Set:* returned TRUE.\r\n*iPhone 5S without FingerPrint Set:* returned FALSE. \r\n*iPhone 5:* returned FALSE.\r\n\r\n_Tested with iOS8._\r\n\r\nTested On:\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160725003348\r\nAppc Studio: 4.7.0.201607111053\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.4.0-34\r\nXcode 7.3\r\nNode v4.4.7\r\n\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-26T17:46:34.000+0000", "updated": "2016-07-26T17:46:56.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }