Step 1- Register with Google Cloud Messaging
Follow the instructions below to register with Google Cloud Messaging (GCM):
...
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.
...
Step 2 - Add the Android settings
...
Notifier Type
Notifier Frequency (in milliseconds)
API keys
Sender IDs
...
Multiple tenants can use WSO2 EMM; while, maintaining tenant based isolation. The Android settings page enables tenants to customize the Android settings based on their own requirements.
To add Android settings
- On the Configurations tab in the EMM Console, click Settings.
- Enter the following Android settings:
- Notifier Type - The notifier type determines the way in which the notification will take place. The available options are as follows:
- Local - The device will contact the EMM server periodically.
GCM - GCM will send a notification to the device when there are pending operations available for a specific device. If GCM has been selected as the notifier type, register with Google Cloud Messaging (GCM).
Info For more information on the notifier type and the notifier frequency, see Android Notification Methods.
- Notifier Frequency (in milliseconds) - This is the interval after which the the wake-up command will be automatically triggered by the Android Agent.
- If GCM has been selected as the notifier type, the following configurations need to be added:
- API keys - The API key that you received after registering with Google Cloud Messaging (GCM). For more information, see Create a server key.
- Sender IDs - This refers to the project IDs. For more information, see Retrieve the Sender ID.
- Notifier Type - The notifier type determines the way in which the notification will take place. The available options are as follows:
- Click Save.
Related Links
Child pages (Children Display) |
---|