{ "id": "176061", "key": "AC-6682", "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": null, "resolutiondate": null, "created": "2021-02-19T08:29:19.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-19T10:11:24.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "File: assets/semantic.colors.json\r\n\r\n{code}\r\n{\r\n \"windowBackgroundColor\": {\r\n \"dark\": \"#666666\",\r\n \"light\": \"#ff0000\"\r\n },\r\n \"background\":{\r\n \"dark\": \"#00ff00\",\r\n \"light\": \"#0000ff\"\r\n }\r\n}\r\n{code}\r\n\r\nOpen new window\r\n{code}\r\nconst window = Ti.UI.createWindow();\r\nwindow.open();\r\nconsole.log(Ti.UI.fetchSemanticColor('windowBackgroundColor'))\r\nconsole.log(Ti.UI.fetchSemanticColor('background'))\r\n{code}\r\n\r\nReturns\r\n{code}\r\n[INFO] {}\r\n[INFO] {}\r\n{code}", "attachment": [], "flagged": false, "summary": "semantic.colors.json won't work/log on iOS", "creator": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Operating System\r\n Name = macOS\r\n Version = 11.3\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 12.20.2\r\n npm Version = 6.14.11\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.5\r\n\r\nTitanium SDK\r\n SDK Version = 9.3.2.GA\r\n SDK Path = /Users/sebastianklaus/Library/Application Support/Titanium/mobilesdk/osx/9.3.2.GA\r\n Target Platform = iphone", "comment": { "comments": [ { "id": "458269", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Not a bug. The return value of \"fetchSemanticColor\" is not an object but a \"TiColor\" instance, which doesn't have a default description that can be logged.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-02-19T09:45:53.000+0000", "updated": "2021-02-19T09:45:53.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }