Titanium JIRA Archive
Appcelerator Community (AC)

[AC-784] Error to send push notification

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionFixed
Resolution Date2014-08-15T01:03:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, console, mobile
ReporterRafael Costa
AssigneeShuo Liang
Created2014-08-11T21:55:18.000+0000
Updated2016-03-08T07:37:03.000+0000

Description

I'm getting an error to send push notification to my android device. After I tried to send a notification, my device token disappear from console.

Attachments

FileDateSize
Screen Shot 2014-08-11 at 6.53.51 PM.png2014-08-11T21:55:18.000+000056983
Screen Shot 2014-08-11 at 6.53.59 PM.png2014-08-11T21:55:18.000+000051847

Comments

  1. Shuo Liang 2014-08-12

    HI, Would you please provide us your app key, we can check what really happened for your push notification. For security season, you can email me about the detail. Regards, Shuo email: sliang@appcelerator.com
  2. Rafael Costa 2014-08-13

    Shuo Liang, Sent by email. Tks
  3. Shuo Liang 2014-08-14

    Hi, I checked the database from our backend. When you send push notification, Google GCM send back a error message. "NotRegistered". Here is the detail about this problem. "If it is NotRegistered, you should remove the registration ID from your server database because the application was uninstalled from the device or it does not have a broadcast receiver configured to receive com.google.android.c2dm.intent.RECEIVE intents." Ref: [https://developer.android.com/google/gcm/http.html] Which means something wrong with your device token or you may delete the app from the device, So I will suggest you that re-install your app and subscribe the device again. Then keep doing testing for push notification. Please feel free to let us know if you still have this problem. Regards, Shuo
  4. Rafael Costa 2014-08-15

    Shuo, It works! Thank you so much! Cheers, Rafael Costa

JSON Source