{ "id": "170602", "key": "AC-5448", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2017-12-15T21:30:13.000+0000", "created": "2017-12-12T06:34:25.000+0000", "labels": [ "ios" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-15T21:30:13.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "No effect if using hex value of color on Ti.UI.iOS.setStatusBarBackgroundColor();\r\n\r\ne.g. Ti.UI.iOS.setStatusBarBackgroundColor(\"#0D0D0D\");\r\n\r\nWorks only if using predefined color names.\r\n\r\n'aqua', 'black', 'blue', 'brown', 'cyan', 'darkgray', 'fuchsia', 'gray', 'green', 'lightgray', 'lime', 'magenta', 'maroon', 'navy', 'olive', 'orange', 'pink', 'purple', 'red', 'silver', 'teal', 'white', 'yellow'\r\n", "attachment": [], "flagged": false, "summary": "Ti.UI.iOS.setStatusBarBackgroundColor takes only color name as parameter", "creator": { "name": "tlau", "key": "tlau", "displayName": "Tony Lau", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlau", "key": "tlau", "displayName": "Tony Lau", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Axway Appcelerator Studio 4.10.0\r\nSDK 6.1.2 and 6.3.0\r\nXcode 9.0\r\n", "comment": { "comments": [ { "id": "432019", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "\r\nHello,\r\nTested the issue and unable to reproduce this using the SDK 7.0.0.GA on iOS Simulator: iPhone X using the sample code below. \r\n\r\n*Test Environment:*\r\n\r\nAppcelerator Command-Line Interface, version 7.0.0\r\nMac OS X 10.13.1\r\n Architecture 64bit\r\n CPUs 4\r\n Memory 8589934592\r\nAxway Appcelerator Studio, build: 5.0.0.201712081732\r\nNode.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nSDK 7.0.0.GA\r\n \r\n\r\n*Test steps:*\r\n1. Open studio and create a classic project\r\n2. Run the app with the sample code below\r\n3. Status bar is displaying the background color using hex value \r\n\r\n*Test Code:*\r\n\r\nindex.xml\r\n{code}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\n*index.js*\r\n{code}\r\nTi.UI.iOS.setStatusBarBackgroundColor(\"#51a01c\");\r\n\r\n$.index.open();\r\n\r\n{code}\r\n\r\n*Output:*[Screenshot|https://s18.postimg.org/lilqkd12x/Simulator_Screen_Shot_-_i_Phone_X_-_2017-12-12_at_15.18.04.png]\r\n\r\n\r\nCan you please try to update your environment , test the sample code above and let us know how it goes.\r\n\r\n\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-12-12T09:20:35.000+0000", "updated": "2017-12-12T09:20:35.000+0000" }, { "id": "432227", "author": { "name": "tlau", "key": "tlau", "displayName": "Tony Lau", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Upgraded to SDK 7.0.0, Axway Appcelerator Studio 5.0.0\r\n\r\nIssue not found. Hurray!\r\n\r\n", "updateAuthor": { "name": "tlau", "key": "tlau", "displayName": "Tony Lau", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-15T19:07:03.000+0000", "updated": "2017-12-15T19:07:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }