Hi,
With our app we had working push notifications (build under SDK 3.2.3). When updating our app with SDK 3.4.0 our app doesn't show the push notifications anymore, but registering and unregistering for a channel goes well.
When sending a push message from the appcelerator console I see this message in the debug monitor:
- GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=<appname> has extras)
- GCM-DMM: Unregister application com.sportfacilities.voetbalclub for user 0
Just above I see at the same time the push message is send (but I don't know if that is related):
- APSAnalyticsHelper: Analytics service not found
- ActivityManager: Unable to start service Intent { cmp=<appname>/com.appcelerator.analytics.APSAnalyticsService } U=0: not found
In my AndroidManifest.xml I have these lines:
<service android:name="org.appcelerator.titanium.analytics.TiAnalyticsService" android:exported="false" /> <service android:name="com.appcelerator.cloud.push.PushService" /> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>I am especially surprised to see a working app not working, so apparently I have to add something to get it working with the new SDK version.
I think I have to change the AndroidManifest.xml, but I can't find an example of how it should look.
Any help will be appreciated.
Best regards, Paul