{ "id": "174116", "key": "MOD-2553", "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": "20952", "name": "Release 9.0.0", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-02-12T14:59:07.000+0000", "created": "2019-09-11T13:05:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "android-10", "ti.identity" ], "versions": [], "issuelinks": [ { "id": "58112", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174640", "key": "TIMOB-27726", "fields": { "summary": "Android: Build \"ti.identity\" module with gradle", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-12T14:59:12.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": "FingerprintHeper#initCipher() fails. Log shows:\r\n{code}\r\nE/KeyStore: generateKeyInternal failed on response 2\r\nE/FingerPrintHelper: (KrollRuntimeThread) [16,15974] Unable to initialize cipher\r\nD/TestApp: (KrollRuntimeThread) [1853,17830] Platform.TouchID.authenticate: {\"error\":\"Failed to encrypt the data with the generated key.\",\"success\":false}\r\n{code}\r\n\r\nTo reproduce, just call:\r\n{code}\r\nrequire('ti.identity').authenticate({callback:function(d) {});\r\n{code}\r\nThis happened to me with Pixel 2 (google walleye) on Android 10 (API 29)\r\nProbably needs to migrate to BiometricPrompt and BiometricManager.", "attachment": [], "flagged": false, "summary": "ti.identity fails on Android 10", "creator": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Android 10 (API 29)\r\nPixel 2 (google walleye)", "closedSprints": [ { "id": 1179, "state": "closed", "name": "2020 Sprint 3", "startDate": "2020-02-03T16:58:00.000Z", "endDate": "2020-02-14T16:58:00.000Z", "completeDate": "2020-02-17T09:45:06.128Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "452231", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ti.identity: https://github.com/appcelerator-modules/titanium-identity/pull/42", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-23T23:41:13.000+0000", "updated": "2019-10-23T23:41:13.000+0000" }, { "id": "454211", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified in SDK version 9.0.0.v20200211122336.\r\n\r\nTest and other information can be found at:\r\nti.identity: https://github.com/appcelerator-modules/titanium-identity/pull/46\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/11448", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-12T14:58:06.000+0000", "updated": "2020-02-12T14:58:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }