{ "id": "172890", "key": "MOD-2489", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2020-04-06T16:22:31.000+0000", "created": "2019-01-18T18:42:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "2020-Q2", "authorization", "faceid", "ios", "module", "passcode", "touchid" ], "versions": [], "issuelinks": [ { "id": "58273", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174828", "key": "MOD-2588", "fields": { "summary": "Android: Add fallback support to password, pin, or touch-pattern in \"ti.identity\"", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-06T16:22:31.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": "15701", "name": "Identity", "description": "Deprecated the old “TouchId” component " } ], "description": "Hello,\r\n\r\nOne of our customer would like to use iPhone's Passcode option on the app. He tried ti.identity module which works fine for Touch ID & Face ID. Along with this he wants to use the Passcode Authentication for the App. Which is not possible to current ti.identity. \r\n\r\nThanks", "attachment": [], "flagged": false, "summary": "iOS: Passcode Authentication feature on ti.identity module ", "creator": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1190, "state": "closed", "name": "2020 Sprint 7", "startDate": "2020-03-27T16:30:21.583Z", "endDate": "2020-04-10T16:30:00.000Z", "completeDate": "2020-04-10T17:43:27.544Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454754", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm pretty sure iOS already supports passcodes via the module's {{AUTHENTICATION_POLICY_PASSCODE}} constant, which tells the system to fallback to a passcode if touch id or face id isn't available on the device.\r\n\r\nIn our module's example code, the above mentioned constant is commented out. Add it in and it should work.\r\nhttps://github.com/appcelerator-modules/titanium-identity/blob/3e0d849bf6e157df60b48efd272857fa4c3e8b4f/ios/example/app.js#L33\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-18T16:53:51.000+0000", "updated": "2020-03-18T16:53:51.000+0000" }, { "id": "454960", "author": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have checked this issue on device and [~jquick] is right we can use AUTHENTICATION_POLICY_PASSCODE constant to set passcode as fallback if biometric scan is failed or not set. if user set AUTHENTICATION_POLICY_PASSCODE in javascript then in native code it uses LAPolicyDeviceOwnerAuthentication policy. Please check https://developer.apple.com/documentation/localauthentication/lapolicy/lapolicydeviceownerauthentication?language=objc for more understanding\r\ncc: [~ssingh],[~amukherjee]", "updateAuthor": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-03T05:22:13.000+0000", "updated": "2020-04-03T05:22:13.000+0000" }, { "id": "454983", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing it as \"Invalid\" since we already support this feature on iOS.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-06T16:22:18.000+0000", "updated": "2020-04-06T16:22:18.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }