Skip to content Skip to sidebar Skip to footer

Gcm Android 4.0.4 Cant Get Message

I followed the example from developers.google.com and create simple services for retrieve Token and messages from GCM. Class for token receive public class RegistrationIntentServic

Solution 1:

It looks like you are not registering with the correct Sender ID. The documentation explains that the Sender ID is the numerical Project Number listed at the Google Developers Console for your app's project. The string you are using for Sender ID, gcm-test-xxxxx, looks like the Project ID.

On the Dashboard page at the Developers Console, your project data will include a line like this:

ID: jade-segment-123 (#123123123123)

For this example, the Sender ID is 123123123123.

Update: Note also that you are not using the URL shown in the documentation:

https://gcm-http.googleapis.com/gcm/send

Post a Comment for "Gcm Android 4.0.4 Cant Get Message"