- Go To Google Developers Console
- Create a project and enter on its console
- Left panel go to
APIs & auth->Credentials - Click
Create New Key->Server Key-> Put the public IP or domain where the server remains (for testing a0.0.0.0/0.can be used) - Left panel go to
APIs & auth->APIs-> Look for Google Cloud Messaging for Android and turn itON - Copy the
API keygenerated
Then go ot Google Developers Console at GooglePlay
- Choose your app
- Left menu ->
Services & APIs keys - At section
GOOGLE CLOUD MESSAGING (GCM)click onLink a Sender ID - Paste the
Server Key - Click
OK
You should see somethin like GCM sender ID 123456789 has been linked successfully.
More Info
Use that "server Key" from you server implementation when posting a push notification