4

In order to send an Android push message from a server, two pieces of information are required:

  • A Sender Id, AKA Project Id, is used in the app side. There should be no more than one id for each app.
  • A Server key for contacting GCM. There might be several Server Keys for a single app so that if one is compromised it can be replaced.

The common wisdom says that the sender id should be apparent in my project page, but I can't seem to find it - any idea where is it?

enter image description here

Adam Matan
  • 128,757
  • 147
  • 397
  • 562

2 Answers2

6

After 20 minutes of agony, I found the problem - I was in the API section of the console (where the server keys are), and I needed the main console page (where the project id / sender id is).

  1. Choose Google Cloud Platform: enter image description here

  2. The numerical project id appears in the center of the screen. enter image description here

Adam Matan
  • 128,757
  • 147
  • 397
  • 562
  • 1
    Thank God, they changed the GUI and I wasted 20 minutes finding it as well... Blessed be! – Shay Apr 16 '16 at 14:38
2

I found the sender ID in another way

  1. Choose the menu in the top right menu Screen

enter image description here

  1. Choose Project Information
Pablo Cegarra
  • 20,955
  • 12
  • 92
  • 110