Google Cloud Messaging (GCM) enables Mobility Suite to quickly communicate with Android mobile devices. GCM lets you push commands to Android devices instead of waiting for the device to check in.
Only tenants in private SaaS or on-premises versions of Mobility Suite can change the Project ID and New API Key for Google GCM.
If you are running a non-private SaaS version, you do not see GCM options in the Mobility Manager. To receive GCM messages, Gmail must be set up on the devices running Android 4.04 or older. GCM is set up in two phases:
Create a new project at Google's APIs website, obtain the Project ID number, and generate a Google API server key.
Configure Mobility Suite to use GCM.
To create a new project and obtain the Project ID number and API server key
This number is called the "Google Project ID", and it is required when configuring Mobility Suite to use GCM.
Select your project from the API Project drop-down list, and in the left pane select Services.
Scroll down the page to Google Cloud Messaging for Android, and set the ON/OFF widget to ON.
On the Google APIs Terms of Service page, agree to and accept the terms of the agreement.
In the left pane, select API Access and then click Create new Server key.
To explicitly set the servers that can use GCM, type the IP address of each server.
Type only one IP address per line. If you do not add an IP address, the address of the computer that you use to access the Google APIs website is used. Check the Google documentation for more information.
The server key appears on the API Access page under Key for server apps (with IP locking) as API Key. Record the server key string for use in the next procedure. This API Key is required when you configure Mobility Suite to use GCM.
To configure Mobility Suite to use GCM
On the Mobility Manager left pane, click Settings.
In the middle pane near the bottom, click Google GCM.
Type the Project ID and New API Key.
For security reasons the API Key never appears on this page after saving. If an API Key has been previously set, the message "A GCM API key has been set" appears at the top of the page.
After saving a new API key, the Android Work Hub must be rebuilt before users can use Google GCM.