Project: titanium
Issue TIMOB-17690: iOS8: UrlSession - "enabledRemoteNotificationTypes is not supported" message appears if you require in the com.appcelerator.urlSession module
*Details:* "enabledRemoteNotificationTypes is not supported" message appears if you require in the com.appcelerator.urlSession module. *Steps to reproduce:* 1. Create a Titanium app; make sure to include com.appcelerator.urlSession module in the tiapp.xml 2. In the app.js, require in the module e.g. {{var monkey = require("com.appcelerator.urlSession");}} 3. In the tiapp.xml, include the following iOS plist keys in the dict node: {code} ... ... UIBackgroundModes fetch remote-notification ... {code} 4. Install app onto device 5. Background the app 6. Relaunch the app again *Actual:* "enabledRemoteNotificationTypes is not supported" message appears in the console: {code} [DEBUG] : Application booted in 304.236054 ms [DEBUG] : enabledRemoteNotificationTypes is not supported in iOS 8.0 and later. {code} *Expected:* "enabledRemoteNotificationTypes is not supported" message should not appear in the console.
Story points: 3