{ "id": "162866", "key": "TIMOB-23837", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-30T05:51:03.000+0000", "created": "2016-08-29T22:18:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios10", "tab", "tabgroup", "tintColor" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-11-22T23:27:21.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": "iOS 10 has the new {{UITab}} API {{badgeColor}} and the new {{UITabBar}} API {{unselectedItemTintColor}}. We should expose both.", "attachment": [ { "id": "60151", "filename": "chat@2x.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-29T22:52:48.000+0000", "size": 15748, "mimeType": "image/png" }, { "id": "60759", "filename": "Screen Shot 2016-11-22 at 3.19.15 PM.png", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-22T23:21:13.000+0000", "size": 25438, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS10: Support new TabGroup API's", "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": null, "closedSprints": [ { "id": 704, "state": "closed", "name": "2016 Sprint 18 SDK", "startDate": "2016-08-27T00:18:36.960Z", "endDate": "2016-09-10T00:18:00.000Z", "completeDate": "2016-09-09T20:26:13.865Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "394713", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8286\r\n\r\nUse the attached \"chat@2x.png\" for the icon that is required for badges - see TIMOB-8880 for possible issue with that.\r\n\r\nDemo:\r\n{code:javascript}\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n unselectedItemTintColor: \"red\",\r\n tabs: [createTab(\"Tab 1\"), createTab(\"Tab 2\"), createTab(\"Tab 3\"), createTab(\"Tab 4\")]\r\n});\r\n\r\n// Sets the badge after 3 seconds\r\nsetTimeout(function() {\r\n tabGroup.tabs[1].badge = 3;\r\n tabGroup.tabs[1].badgeColor = \"gray\";\r\n},2000);\r\n\r\ntabGroup.open();\r\n\r\nfunction createTab(title) {\r\n return Ti.UI.createTab({\r\n title: title,\r\n icon: \"chat.png\",\r\n window: Ti.UI.createWindow({\r\n title: title\r\n })\r\n })\r\n}\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-29T22:51:16.000+0000", "updated": "2016-08-29T22:53:00.000+0000" }, { "id": "394762", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT Passed! ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-30T05:47:52.000+0000", "updated": "2016-08-30T05:47:52.000+0000" }, { "id": "401721", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with this environment:\r\nNPM Version: 2.15.9\r\nNode Version: 4.5.0\r\nMac OS: 10.12.1\r\nAppc CLI: 6.0.0\r\nAppc CLI NPM: 4.2.8\r\nTitanium SDK version: 6.1.0.v20161122053743\r\nAppcelerator Studio, build: 4.8.0.201611121409\r\nXcode 8.1 GM\r\n\r\nI tested with the demo code on an iPhone device v10.1.1, and copied the chat@2x.png in the Resources/iphone folder. A badge appeared after 3 seconds on tab 2 icon. The demo code works as expected. A screenshot of the app output is shown for reference.\r\n\r\n!Screen Shot 2016-11-22 at 3.19.15 PM.png|thumbnail!", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-22T23:26:18.000+0000", "updated": "2016-11-22T23:26:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }