{ "id": "169796", "key": "TIMOB-25293", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-10-05T23:05:31.000+0000", "created": "2017-09-15T17:35:03.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "touchid" ], "versions": [ { "id": "19870", "description": "", "name": "Release 6.1.2", "archived": false, "released": true, "releaseDate": "2017-08-03" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-05T23:05: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "H5. Issue Description \r\n\r\nIn our application we are using finger print based authentication for Android, and we are using TouchId module version 2.2.0.\r\nWhen we keep the app in background, the app is still waiting for finger print to be supplied. If you supply finger print our app is getting focused even if we are using any other app at that time.\r\n\r\nit would be helpful, if Touch Id module is returning a message when app is pushed to background.\r\n\r\nh5. Steps to Reproduce\r\n\r\nTo reproduce the issue,\r\n1 Run the attached sample app here https://drive.google.com/open?id=0BwTWo-c2a0b9OVhlWEdvc0Q2SEU\r\n2 click on “click to get touchID view” label\r\n3 Keep the app in background by pressing Home\r\n4 Now provide the invalid/valid finger print, app will get focused.\r\n", "attachment": [], "flagged": false, "summary": "Android App getting focused from background after supplying fingerprint.", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 6.1.2 \r\nTouchId module version 2.2.0.", "closedSprints": [ { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "428019", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~emerriman] do you have any update ? ", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-18T15:09:38.000+0000", "updated": "2017-09-18T15:09:38.000+0000" }, { "id": "428106", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez] This isn't an issue with ti.touchid, the sample app provided creates a new window when a fingerprint is authenticated. That window will be brought into the foreground. I'm not sure what their expected behavior should be?\r\n\r\nYou can use the {{blur}} event to detect if the window has entered a paused state.\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow(),\r\n isBackground = false;\r\n\r\nwin.addEventListener('focus', function(e) {\r\n isBackground = false;\r\n});\r\nwin.addEventListener('blur', function(e) {\r\n isBackground = true;\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-19T20:43:01.000+0000", "updated": "2017-09-19T20:44:37.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }