Register with Google Cloud Messaging
Follow the instructions below to register with Google Cloud Messaging (GCM):
- Go to the Google API Console.
If you are new to the Google API console, you will be directed to following screen:
If you already have existing projects, you will be directed to your Dashboard page:
On the Dashboard page, click Projects and thereafter click Create Project to create a new project for our application.
After creating the project, you will see the Project Number in the created project. That project number will be our sender ID when you communicate with the GCM server; therefore, you need to copy that and keep it safely.Click APIs & auth and then click APIs.
Turn on “Google cloud messaging for Android".
Click APIs & auth and then click Credentials.
Click Create New Key to use the wizard to create a server key. You need to copy and keep the API key, as it will be used later in the EMM server configurations.