{ "id": "134921", "key": "TIMOB-17510", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-13T04:09:01.000+0000", "created": "2014-08-18T21:05:15.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:45:34.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 iOS 8, there has been a change in the way the local notifications work. Now we need to ask the user for permission before registering.\r\n\r\nReference: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIUserNotificationSettings_class/index.html", "attachment": [], "flagged": false, "summary": "iOS 8 - Add new notification permissions", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "319304", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Pending: https://github.com/appcelerator/titanium_mobile/pull/5975\r\n{code}\r\nTi.App.iOS.registerForLocalNotifications({\r\n types: Ti.App.iOS.NOTIFICATION_TYPE_BADGE |\r\n Ti.App.iOS.NOTIFICATION_TYPE_SOUND | \r\n Ti.App.iOS.NOTIFICATION_TYPE_ALERT\r\n});\r\n\r\nTi.App.addEventListener('paused', function(){\r\n Ti.App.iOS.scheduleLocalNotification({\r\n alertBody: 'Hello!',\r\n alertAction: 'Here!'\r\n });\r\n});\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-19T17:18:39.000+0000", "updated": "2014-08-19T17:18:39.000+0000" }, { "id": "413170", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue has been fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:45:34.000+0000", "updated": "2017-03-16T21:45:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }