Debugging Google cloud messaging push messages

debugging, google-cloud-messaging

Solution

I know it's an old question and you might have solved it yourself by now, but for completeness I would like to post a solution here.

By now you can find the option GCM Diagnostics in your Google Play Developer Console when you have your app selected. It's placed on the left hand side.

You just post a registration token or a message id and will shortly see a summary of push notifications connected to this token/id, plus additional debug information.

Cheers!

Problem

I am trying to send push messages to an android application. The POST https://android.googleapis.com/gcm/send seems to succeed and I get something (with some numbers changed) like: ``` {"multicast_id":9999063399994069899, "success":1, "failure":0, "canonical_ids":0, "results":[{"message_id":"0:1416520599679103%8d7d198de508343a"}]} ``` but I don't seem to get the notification on the device... Is there anything that can be done with the message_id it track it forward ? Can I somehow tell me if Google actually tired to deliver it to the device and what was the result of the attempt?

Original source