azuosxela azuosxela - 1 year ago 109
Android Question

GCM - How to Generate a Server API Key For Android Push Notification

I want to use push notification service on my Android project, but when I try to generate a server key, I notice that Google's developers console changed and I can't find where I can generate my server key. I looked at a lot of tutorials but still I can't do it.

Answer Source

Update: There is now a visible note in the GCM docs saying:

Starting from Sept. 2016 new server key can only be created in the Firebase Console using the Cloud Messaging tab of the Settings panel. Existing projects that need to create a new server key can be imported in the Firebase console without affecting their existing configuration.

Just retrieved a part of my answer here.

  1. Go to your Google Developers Console
  2. On the left-pane, click on Credentials
  3. Under the Credentials Tab, Click on Create Credentials
  4. Select API Key
  5. Select Server Key
  6. Fill out the details.
  7. Click on Create

The Server Key should be available by then.

PS: Just tried it out, this still is a way to generate a Server Key.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download