I am uploading an application to Google Play Store in which GCM is implemented.
How to enable GCM for that applicationw while uploading to the Google Play store? There is a section called "Enable Google Cloud Messaging Stats".
I am getting this error when trying to ling GCM Sender Id:
Invalid GCM API Key or C2DM Client Login Token (Bad Key).
Can anyone please explain what are the steps to enable GCM for an application while uploading to android market.
(This question is quite old, but I hope this answer help others in the future.)
You need to use the API key, it seems you copy the Sender Id itself. First, after creating a project in Developer Consol you need to enable the API:
Next, obtain an API Key
0.0.0.0/0
.More info
Make sure that your Project id or sender id is valid.This is a unique id for project(the same id for client and server).
In your case you might be using project id of another project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With