{ "id": "136519", "key": "TIMOB-17690", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-26T18:38:25.000+0000", "created": "2014-09-12T21:53:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "qe-3.4.0" ], "versions": [], "issuelinks": [ { "id": "41061", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136078", "key": "TIMOB-17640", "fields": { "summary": "iOS8: Add isRegisteredForRemoteNotifications to determine whether the app is currently registered for remote notifications.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:25:40.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": "*Details:* \"enabledRemoteNotificationTypes is not supported\" message appears if you require in the com.appcelerator.urlSession module.\r\n\r\n*Steps to reproduce:*\r\n1. Create a Titanium app; make sure to include com.appcelerator.urlSession module in the tiapp.xml\r\n2. In the app.js, require in the module e.g. {{var monkey = require(\"com.appcelerator.urlSession\");}}\r\n3. In the tiapp.xml, include the following iOS plist keys in the dict node:\r\n{code}\r\n...\r\n\r\n \r\n \r\n ...\r\n UIBackgroundModes\r\n \r\n fetch\r\n remote-notification\r\n \r\n \r\n \r\n\r\n...\r\n{code}\r\n\r\n4. Install app onto device\r\n5. Background the app\r\n6. Relaunch the app again\r\n\r\n*Actual:* \"enabledRemoteNotificationTypes is not supported\" message appears in the console:\r\n{code}\r\n[DEBUG] : Application booted in 304.236054 ms\r\n[DEBUG] : enabledRemoteNotificationTypes is not supported in iOS 8.0 and later.\r\n{code}\r\n\r\n*Expected:* \"enabledRemoteNotificationTypes is not supported\" message should not appear in the console.", "attachment": [], "flagged": false, "summary": "iOS8: UrlSession - \"enabledRemoteNotificationTypes is not supported\" message appears if you require in the com.appcelerator.urlSession module", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.4.0.201409112242 \r\nSDK build: 3.4.0.v20140912120914 \r\ncom.appcelerator.urlSession: 1.0.1 \r\nCLI: 3.4.0-rc2 \r\nAlloy: 1.5.0-rc \r\nXcode: 6 GM Seed \r\nDevices: iphone 5 (8.0 GM Seed)", "closedSprints": [ { "id": 219, "state": "closed", "name": "2014 Sprint 19 SDK", "startDate": "2014-09-18T21:06:27.559Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T13:58:58.022Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "323572", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6075", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T04:14:55.000+0000", "updated": "2014-09-15T04:14:55.000+0000" }, { "id": "323574", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Moved from TIMODOPEN to TIMOB since the bug was in titanium_mobile", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T04:16:45.000+0000", "updated": "2014-09-15T04:16:45.000+0000" }, { "id": "323578", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T05:04:42.000+0000", "updated": "2014-09-15T05:04:49.000+0000" }, { "id": "323797", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue was fixed by TIMOB-17640", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T21:17:43.000+0000", "updated": "2014-09-15T21:17:43.000+0000" }, { "id": "324076", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. I am not seeing \"enabledRemoteNotificationTypes is not supported\" message anymore; disabled all services when verifying this again.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nSDK build: 3.4.0.v20140916131632\r\nCLI: 3.4.0-rc3\r\nAlloy: 1.5.0-rc2\r\nXcode: 6 GM Seed\r\nDevices: iphone 5 (8.0 GM Seed)\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T21:47:17.000+0000", "updated": "2014-09-16T21:51:08.000+0000" }, { "id": "325883", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "opened by mistake, closing", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-26T18:38:25.000+0000", "updated": "2014-09-26T18:38:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }