{ "id": "171329", "key": "TIMOB-25871", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-27T16:25:32.000+0000", "created": "2018-03-15T11:08:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "community", "ios", "quick-win" ], "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" }, "inwardIssue": { "id": "172044", "key": "TIMOB-26288", "fields": { "summary": "Android: Add ability to hide/show back button on Window", "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": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-27T16:25:37.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Natively it is possible to hide the backButton programatically using the hidesBackButton attribute. This is discussed in this StackOverflow question: https://stackoverflow.com/questions/614212/how-to-hide-back-button-on-navigation-bar-on-iphone\r\n\r\nWe should consider using this property when the user wants to hide the button. ", "attachment": [], "flagged": false, "summary": "iOS: Add ability to hide back button on NavigationWindow", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS & TiSDK 7.1.0.GA", "closedSprints": [ { "id": 1065, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2018-08-13T17:39:36.846Z", "endDate": "2018-08-27T17:39:00.000Z", "completeDate": "2018-08-29T16:10:57.013Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437573", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We can expose this property as property of Window - \r\n \r\n Titanium.UI.Window.hidesBackButton", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-11T07:07:41.000+0000", "updated": "2018-05-11T07:07:41.000+0000" }, { "id": "437603", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/10043\r\n\r\nTest Case -\r\n\r\n\r\n{code:java}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window',\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Open Gray Window(Back Button Hidden)'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n\twin1.openWindow(win4, {animated:true});\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open();\r\n\r\nvar win4 = Titanium.UI.createWindow({\r\n backgroundColor: 'gray',\r\n title: 'Gray Window',\r\n hidesBackButton: true\r\n});\r\n\r\nvar button4 = Titanium.UI.createButton({\r\n title: 'Close Gray Window'\r\n});\r\nwin4.add(button4);\r\n\r\nbutton4.addEventListener('click', function(){\r\n win1.closeWindow(win4, {animated:false}); \r\n});\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-14T07:08:52.000+0000", "updated": "2018-05-14T07:08:52.000+0000" }, { "id": "439512", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, Verified fix in SDK Version: {{7.4.0.v20180726102127}}\r\n\r\n*FR Passed (Test Steps):*\r\n# Created a new titanium application\r\n# Added the above code in to the {{app.js}}\r\n# Ran the program\r\n# Opened the blue window (Back button set to visible)\r\n# Back button is visible on the {{NavigationWindow}}\r\n# Opened the Gray Window (Back button is set not to be visible) \r\n# Back button is not visible on {{NavigationWindow}}\r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.0.0.201712081732\r\nAPPC CLI: 7.0.4\r\niPhone 6 simulator (11.2)\r\nOperating System Name: Mac OS High Sierra\r\nOperating System Version: 10.13\r\nNode.js Version: 8.9.1\r\nXcode 9.2\r\n{code}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-26T19:09:46.000+0000", "updated": "2018-07-26T19:09:46.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }