{ "id": "173502", "key": "AC-6227", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-04-30T23:50:22.000+0000", "created": "2019-04-26T09:46:24.000+0000", "labels": [ "faceid", "ios", "module", "ti.identity" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-30T23:50:22.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Hi guys,\r\n\r\nI was going to release a new version of some of our apps when I found that the previous ti.touchid module was deprecated. I quickly found the ti.identity module and I downloaded version 1.0.4 and 1.0.6. I added it to my projects and the app seemed to be crashing all the time I was trying to invoke the authentication.\r\n\r\nFor the sake of testing, I created a brand new project, using just the example of the module itself and nothing more.\r\n\r\nThe result is that as soon as I try to use FaceID both in emulator and in a real device the app just crashes without showing any information in the log.\r\n\r\nThis would be easy to check: just create a project with the app.js of the example in the ti.identity module.\r\n\r\nIf you need more detailed information, could you please let me know how to get it?\r\n\r\nThanks in advance!\r\n\r\n\r\nPS: Same module tested in non FaceID devices such as iPhone 7, works with TouchID.", "attachment": [], "flagged": false, "summary": "iOS: Ti.Identity - FaceID crashes 100% of the time", "creator": { "name": "dfalcon", "key": "dfalcon", "displayName": "Daniel Falcon", "active": true, "timeZone": "Europe/Zurich" }, "subtasks": [], "reporter": { "name": "dfalcon", "key": "dfalcon", "displayName": "Daniel Falcon", "active": true, "timeZone": "Europe/Zurich" }, "environment": "Operative System: Mac OS X version 10.14.3\r\nAppcelerator Command-Line Intervace, version 7.0.10\r\nTitanium SDKs (tested on 7.4.0.GA, 7.5.0.GA and 8.0.0.GA)\r\nTitanium CLI version 5.1.1\r\nNode.js Version 8.9.3\r\n\r\nDevice targets: \r\nEmulators: iPhone X, iPhone Xs, iPhone Xr (all with iOS 12.2) with Xcode 10.2\r\nDevices: iPhone X, iPhone Xs, both with iOS 12.2", "comment": { "comments": [ { "id": "448019", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please read the documentation carefully. You need the {{NSFaceIDUsageDescription}} flag in the plist section of your tiapp.xml, e.g.:\r\n{code:xml}\r\nNSFaceIDUsageDescription\r\nWhy you need Face ID.\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-04-27T13:32:18.000+0000", "updated": "2019-04-27T13:32:18.000+0000" }, { "id": "448044", "author": { "name": "dfalcon", "key": "dfalcon", "displayName": "Daniel Falcon", "active": true, "timeZone": "Europe/Zurich" }, "body": "Hi Hans,\r\n\r\nAs usual you got the right answer. I added this key to the tiapp.xml in the past, but I commented it out for testing and never reverted it back. Uncommenting it again, did the job.\r\n\r\nMany thanks for your help. You can close this issue.", "updateAuthor": { "name": "dfalcon", "key": "dfalcon", "displayName": "Daniel Falcon", "active": true, "timeZone": "Europe/Zurich" }, "created": "2019-04-29T15:47:35.000+0000", "updated": "2019-04-29T15:47:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }