CloudServices/SimplePushServer/GCM

From MozillaWiki
< CloudServices‎ | SimplePushServer
Revision as of 19:45, 6 January 2015 by Jrconlin (talk | contribs) (Created page with "= Using Google Cloud Messaging with SimplePush = the [https://github.com/mozilla-services/pushgo/blob/dev/GCM_NOTES.md GCM_NOTES.md] file describes the actions required to ac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using Google Cloud Messaging with SimplePush

the GCM_NOTES.md file describes the actions required to acquire a GCM project ID and registration ID. In short:

  1. go to https://console.developers.google.com/project
  2. create a new Project (it is recommended to create several, one for:
    • Production Load
    • Development
    • Load Testing
    • Cross Product Integration
  3. go to "APIs & Auth"
  4. Activate "Google Cloud Messaging for Android" under "APIs"
  5. create a new key under "Credentials" "Public API access.
    Optionally, you may wish to limit the IPs to include only the SimplePush servers. This will limit who can send messages using these keys.
  6. Add the API Key as gcm.api_key