{ "id": "167081", "key": "TIMOB-24575", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-04-13T07:52:03.000+0000", "created": "2017-04-12T16:20:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [ { "id": "54708", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "166778", "key": "TIMOB-24531", "fields": { "summary": "Android: onBackPressed behaviour does not work correctly", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-31T23:16:11.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": "Hi,\r\nThe back button on my Android Phone is triggering a destroy event in latest SDK 6.0.3.GA. When I build my app using 6.0.2.GA the behavior of the android back button is normal again.\r\n\r\nFirst with SDK 6.0.2.GA, the back button is working as expected, close the active window and go back to the previous window. In the main window, the app is closed when pressing the android back button. So everything is fine.\r\n\r\nBut Changed the SDK to 6.0.3.GA and run the app again. The android back button is closing the app in both windows, and it closes the apps. \r\nI’m using a Samsung S5+ with Android 6.0.1 and HTC one m8 with android 6.0.1\r\nSteps to reproduce:\r\n1. Import test project in your studio. \r\n{code}\r\nhttps://crosshardware.stackstorage.com/s/ZopRJaNDqCoGx2i\r\n{code}\r\n2. Build it with latest SDK 6.0.3.GA\r\n3. Open the app and select an item, it will open product details window.\r\n4. Press android phone back button, it will destroy or close the app.\r\n \r\nBut if you build this with 6.0.2.GA , back button will close the active window and go back to the previous window.\r\n\r\nTest Environment \r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.4\r\n npm Version = 2.15.1\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\nTitanium SDK\r\n SDK Version = 6.0.3.GA\r\n{code}\r\nThanks ", "attachment": [], "flagged": false, "summary": "Android: Back button on Android Phone is triggering a destroy event in latest SDK 6.0.3.GA", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": null, "comment": { "comments": [ { "id": "417345", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-24531, fixed in the upcoming 6.0.4 release.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-13T07:52:03.000+0000", "updated": "2017-04-13T07:52:03.000+0000" }, { "id": "420735", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-31T23:16:11.000+0000", "updated": "2017-05-31T23:16:11.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }