{ "id": "162030", "key": "TIMOB-23675", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-25T16:50:59.000+0000", "created": "2016-07-24T16:06:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "alertdialog", "ios", "qe-6.0.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-22T18:37:13.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 9 offers a way to set a \"preferred\" action that is highlighted visually. It's the only alert-component we do not support, yet.", "attachment": [], "flagged": false, "summary": "iOS9: Support preferred alert action", "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, "comment": { "comments": [ { "id": "391352", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8153\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"#fff\"\r\n});\r\nvar btn = Ti.UI.createButton({\r\n title: \"Show alert\"\r\n});\r\n\r\nbtn.addEventListener(\"click\", function() {\r\n var alert = Ti.UI.createAlertDialog({\r\n title: \"Test\",\r\n message: \"Message\",\r\n buttonNames: [\"OK\", \"Cancel\", \"Destructive\"],\r\n cancel: 1,\r\n destructive: 2,\r\n preferred: 0\r\n });\r\n alert.addEventListener(\"click\", function(e) {\r\n Ti.API.warn(e);\r\n })\r\n alert.show();\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-24T16:11:21.000+0000", "updated": "2016-07-24T16:11:21.000+0000" }, { "id": "396969", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified support for preferred alert action for iOS9.\r\n\r\nTested On:\r\niPhone 5S 9.3.5 Device & Simulator\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 6.0.0.v20160921191053\r\nAppc Studio: 4.8.0.201609101003\r\nAppc NPM: 4.2.8-6\t\r\nApp CLI: 6.0.0-45\r\nXcode 8.0 \r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-09-22T18:36:54.000+0000", "updated": "2016-09-22T18:36:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }