{ "id": "163397", "key": "AC-4498", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-09-23T22:35:38.000+0000", "created": "2016-09-23T01:06:16.000+0000", "labels": [ "hyperloop", "ios10", "notifications" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-24T13:06:25.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15000", "name": "Hyperloop" } ], "description": "Apple has released a new notification SDK in iOS 10 called UserNotifications.\r\nThis framework apparently is not being detected by Hyperloop.\r\nIf you require it in your code... \r\n\r\n{code:java}\r\nvar UIUserNotificationSettings = require('UserNotifications/UIUserNotificationSettings');\r\n{code}\r\n\r\nYou get this error:\r\n\r\n{code:java}\r\nError: The iOS class \"UIUserNotificationSettings\" could not be found in the framework \"UserNotifications\".\r\n{code}\r\n\r\nEven referencing it in your *appc.js* doesn't seem to solve the issue:\r\n\r\n\r\n{code:java}\r\nmodule.exports = {\r\n    hyperloop: {\r\n        ios: {\r\n            xcodebuild: {\r\n                frameworks: [\r\n                    'UserNotifications'\r\n                ]\r\n            },\r\n        }\r\n    }\r\n};\r\n{code}\r\n\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop doesn't detect the new UserNotifications framework", "creator": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "subtasks": [], "reporter": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "environment": "Hyperloop 1.2.7\r\nSDK 5.5.0.GA", "comment": { "comments": [ { "id": "397128", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This issue is invalid. The class {{UIUserNotificationSettings}} is no iOS 10 class and is part of the {{UIKit}} framework, not {{UserNotifcations}}. You might look for {{UNNotificationSettings}} from the {{UserNotifications}} framework instead.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-23T22:35:38.000+0000", "updated": "2016-09-23T22:35:38.000+0000" }, { "id": "397149", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Oh geez. Such a good friday mistake... Will try that.", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-09-24T13:06:25.000+0000", "updated": "2016-09-24T13:06:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }