{ "id": "172044", "key": "TIMOB-26288", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-11-13T19:24:56.000+0000", "created": "2018-08-11T22:47:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "issuelinks": [ { "id": "56729", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "171329", "key": "TIMOB-25871", "fields": { "summary": "iOS: Add ability to hide back button on NavigationWindow", "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": "Medium", "id": "3" }, "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": "2018-11-13T19:24:56.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": [], "description": "We implemented the ability to hide the back-button on iOS (enabled by default) via TIMOB-25871. For Android, the back-button (home indicator) is not shown, but for parity sake, we should make this toggleable (on creation only).\r\n\r\nRight now, the following needs to done for {{every}} sub-window:\r\n{code:js}\r\nfunction onOpen() {\r\n\tconst actionBar = $.window.getActivity().getActionBar();\r\n\r\n\tif (actionBar !== null) {\r\n\t\tactionBar.displayHomeAsUp = true;\r\n\t\tactionBar.onHomeIconItemSelected = close;\r\n\t}\r\n}\r\n{code}\r\nHaving a property and doing this internally would be a huge cross-platform shared parity-code improvement, especially for larger scaled apps. On long-term, this should part of the {{Ti.UI.NavigationWindow}} effort, but I think this did not gain much love so far.", "attachment": [], "flagged": false, "summary": "Android: Add ability to hide/show back button on Window", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS & TiSDK 7.1.0.GA", "comment": { "comments": [ { "id": "443536", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android navigation window will support this.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-13T19:24:56.000+0000", "updated": "2018-11-13T19:24:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }