{ "id": "167886", "key": "TIMOB-24729", "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-19T15:19:35.000+0000", "created": "2017-05-24T04:14:18.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": [ "qe-6.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-20T15:15:56.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\nReplace ABPeoplePickerNavigationController (in Ti.Contacts, replacement straight forward)\r\n\r\nThis is subset of ticket TIMOB-24335.", "attachment": [], "flagged": false, "summary": "iOS: Resolve iOS 8 deprecations for ABPeoplePickerNavigationController", "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": 903, "state": "closed", "name": "2017 Sprint 12 SDK", "startDate": "2017-06-05T00:15:46.290Z", "endDate": "2017-06-19T00:15:00.000Z", "completeDate": "2017-06-19T16:09:22.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "420321", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9080\r\n\r\nTest Case: \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Open Contact'\r\n});\r\n\r\nvar performAddressBookFunction = function(){\r\nTi.Contacts.showContacts({\r\n cancel:function(e) {\r\nTi.API.info('cancel called');\r\n },\r\n // Comment selectedPerson block to verify selected property \r\n selectedPerson:function(e){\r\n Ti.API.info('selected person called' +e.person);\r\n Ti.API.info(' selected person name is :' +e.person.fullName);\r\n },\r\n selectedProperty:function(e){\r\n Ti.API.info('selected property called');\r\n Ti.API.info(' selected property detail is :' +JSON.stringify(e));\r\n }\r\n});\r\n};\r\nvar addressBookDisallowed = function(){\r\n Ti.API.info('contact permission not allowed');\r\n};\r\n\r\n\r\nbtn.addEventListener('click', function() {\r\n if (Ti.Contacts.hasContactsPermissions()) {\r\n performAddressBookFunction();\r\n} else {\r\n Ti.Contacts.requestContactsPermissions(function(e) {\r\n if (e.success) {\r\n performAddressBookFunction();\r\n } else {\r\n addressBookDisallowed();\r\n }\r\n });\r\n}});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n\r\n{code}\r\n\r\n\r\nNOTE : Please verify it for iOS < 9 also.\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-24T08:04:06.000+0000", "updated": "2017-05-24T08:04:06.000+0000" }, { "id": "422372", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verifed as fixed, ran test case against iOS8/9/10 with Ti SDK 6.1.0.GA & Master v6.2.0.v20170619134258\r\n\r\nTested On:\r\niPhone 7 10.3.2 Device & Simulator\r\niPhone 6 8.1 & 9.3 Simulator\r\nMac OS Sierra (10.12.5)\r\nTi SDK: 6.2.0.v20170619134258\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-20T15:15:40.000+0000", "updated": "2017-06-20T15:15:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }