{ "id": "167853", "key": "TIMOB-24718", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-20T14:59:04.000+0000", "created": "2017-05-23T07:55:50.000+0000", "epic": { "id": 165427, "key": "TIMOB-24335", "name": "", "summary": "iOS: Resolve iOS 8 deprecations", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-21T12:26:10.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": "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.\r\nRemove old UIAlertView and UIActionSheet API's.\r\nThis is subset of ticket TIMOB-24335.", "attachment": [], "flagged": false, "summary": "iOS: Resolve iOS 8 deprecations for UIAlertView and UIActionSheet ", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 917, "state": "closed", "name": "2017 Sprint 13 SDK", "startDate": "2017-06-18T16:14:35.902Z", "endDate": "2017-07-02T16:14:00.000Z", "completeDate": "2017-07-06T23:53:22.101Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "420314", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9079\r\nTest Case : OptionDialog / ActionSheet\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n title: 'Click window to test',\r\n backgroundColor: 'white'\r\n});\r\n\r\nvar opts = {\r\n cancel: 2,\r\n options: ['Confirm', 'Help', 'Cancel'],\r\n selectedIndex: 2,\r\n destructive: 0,\r\n title: 'Delete File?'\r\n};\r\n\r\nwin.addEventListener('click', function(e){\r\n var dialog = Ti.UI.createOptionDialog(opts).show();\r\n});\r\nwin.open();\r\n{code}\r\n\r\nTest Case : AlertDialog / AlertView\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({ \r\n title: 'Click window to test',\r\n backgroundColor: 'white'\r\n});\r\nwin.addEventListener('click', function(e){\r\n var dialog = Ti.UI.createAlertDialog({\r\n cancel: 1,\r\n buttonNames: ['Confirm', 'Cancel', 'Help'],\r\n message: 'Would you like to delete the file?',\r\n title: 'Delete'\r\n });\r\n dialog.addEventListener('click', function(e){\r\n if (e.index === e.source.cancel) {\r\n Ti.API.info('The cancel button was clicked');\r\n }\r\n Ti.API.info('e.cancel: ' + e.cancel);\r\n Ti.API.info('e.source.cancel: ' + e.source.cancel);\r\n Ti.API.info('e.index: ' + e.index);\r\n });\r\n dialog.show();\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-24T04:09:00.000+0000", "updated": "2017-05-24T10:15:54.000+0000" }, { "id": "422450", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verifed as fixed, ran test cases for OptionDialog / ActionSheet & AlertDialog / AlertView against iOS8/9/10 with Ti SDK 6.1.0.GA & Master.\r\n\r\nTested On:\r\niPhone 7 10.3.2 Device & Simulator\r\niPhone 6S 9.3 / 8.1 Simulators\r\nMac OS Sierra (10.12.5)\r\nTi SDK: 6.2.0.v20170620104530\r\nAppc NPM: 4.2.9\r\nApp CLI: 6.2.2\r\nXcode 8.3.3\r\nNode v4.6.0\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2017-06-21T12:25:50.000+0000", "updated": "2017-06-21T12:26:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }