[AC-784] Error to send push notification
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2014-08-15T01:03:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, console, mobile |
Reporter | Rafael Costa |
Assignee | Shuo Liang |
Created | 2014-08-11T21:55:18.000+0000 |
Updated | 2016-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
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
Shuo Liang, Sent by email. Tks
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
Shuo, It works! Thank you so much! Cheers, Rafael Costa