Skip to content

Instantly share code, notes, and snippets.

@huberflores
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huberflores/59d1e3629f72b01c2ea7 to your computer and use it in GitHub Desktop.
Save huberflores/59d1e3629f72b01c2ea7 to your computer and use it in GitHub Desktop.
Google Cloud Messaging Keys
#
# author Huber Flores
#
Go to: https://code.google.com/apis/console/
###Server
- API access
Key for server apps (with IP locking)
API key:
AIzaSyC1SyaOxxxxxxxxxxxxxxxxxxxxfSGy4cI
IPs:
Any IP allowed
Activated on: Jul 3, 2012 4:21 PM
Server code
String apiKey = "AIzaSyC1SyaOxxxxxxxxxxxxxxxxxxxxfSGy4cI"
IPs:
Any IP allowed
Activated on: Jul 3, 2012 4:21 PM
###Client
https://code.google.com/apis/console/b/0/?noredirect#project:662xxxxxxxxx
Project ID: 62xxxxxxxxx
static final String SENDER_ID = "662xxxxxxxxx";
static final String SERVER_URL = "http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080/GCM-mavenized-server";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment