Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17695] iOS8: enabledRemoteNotificationTypes - "enabledRemoteNotificationTypes is not supported" message appears if you include Crittercism module

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-03-23T20:05:34.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 4.1.0
ComponentsiOS
Labelsios8, qe-3.4.0
ReporterWilson Luu
AssigneeJon Alter
Created2014-09-15T23:23:21.000+0000
Updated2015-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.

Comments

  1. Stephen Feather 2014-10-08

    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.
  2. Muhammad Dadu 2014-10-14

    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
  3. Jon Alter 2015-03-23

    PR: https://github.com/appcelerator-modules/appcelerator.apm/pull/17 Built module: https://github.com/jonalter/com.appcelerator.apm/releases/tag/1.1.3
  4. Eric Wieber 2015-07-06

    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.

JSON Source