[TIMOB-17695] iOS8: enabledRemoteNotificationTypes - "enabledRemoteNotificationTypes is not supported" message appears if you include Crittercism module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-03-23T20:05:34.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 4.1.0 |
Components | iOS |
Labels | ios8, qe-3.4.0 |
Reporter | Wilson Luu |
Assignee | Jon Alter |
Created | 2014-09-15T23:23:21.000+0000 |
Updated | 2015-07-06T17:37:36.000+0000 |
Description
*Details:* "enabledRemoteNotificationTypes is not supported" message appears if you include the Crittercism module in your app.
*Note:* Through process of elimination, I was able to determine that the Crittercism module was returning the message i.e. enabled each services (Aanalytics, ACS, SOASTA, Crittercism) one by one.
*Steps to reproduce:*
1. Create a default Titanium classic app with services enabled
2. Install app to an iOS 8 device or simulator
3. Once the app launches, press the home button to background the app
4. Then, bring the app back to the foreground
*Actual:* The following message appears in console:
enabledRemoteNotificationTypes is not supported in iOS 8.0 and later.
*Expected:* The *enabledRemoteNotificationTypes is not supported* message should not appear for default apps.
Thanks for posting, Wilson. I was starting to think I was going crazy. I'd refactored all the push notifications code in an app, as I'd done with 3 or 4 others, and was still getting this error message.
This seems to be an issue with the crittercism package. They have released a new version that fixes the issue. http://docs.crittercism.com/release_notes/release_notes_ios.html
PR: https://github.com/appcelerator-modules/appcelerator.apm/pull/17 Built module: https://github.com/jonalter/com.appcelerator.apm/releases/tag/1.1.3
Verified fixed, using: MacOS 10.11 Studio 4.1.0.201507031129 Ti SDK 4.1.0.v20150706073311 Appc NPM 4.1.0-1 Appc CLI 4.1.0-5 Ti CLI 4.0.1 Alloy 1.6.2 Node v0.10.37 Java 1.7.0_45 preproduction Do not see error message on iOS 8 devices.