Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

Work in progress

...

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.

Table of Contents

Adding Android settings

Follow the instructions below to add Android settings:

  1. On the Configurations tab in the EMM Console, click Settings.
  2. 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

        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 device will send a message to the EMM serverafter which the the wake-up command will be automatically triggered by the Android Agent.
    • API keys - The API key that you received after registering with Google Cloud Messaging (GCM). For more information, see Register with Google Cloud MessagingCreate a server key.
    • Sender IDs - This refers to the project IDs. For more information, see Retrieve the Sender ID.
  3. Click Save.

Register with Google Cloud Messaging

Follow the instructions below to register with Google Cloud Messaging (GCM):

Step 1 - Create an APIs project

  1. 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:
    Image Removed Image Added
  2. 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.

  3. Click APIs & auth and then click APIs

  4. Turn on “Google cloud messaging for Android".

Step 2 - Create a server key

  1. Click on the APIs & auth and then click project in the dashboard.

  2. Click APIs & auth.

  3. Click Credentials.
    AnchorAPIkeyImage AddedAPIkey

  4. Click Create New new Key to use the wizard to create a server key
  5. Click Server key. The server key that gets created for server applications will be displayed.
    You need to copy and keep the server API key, as it will be used later in the EMM server configurations. Image Removed

Step 3 - Retrieve the Sender ID

Click on the APIs project in the dashboard. The overview page will appear with the corresponding project number. This project number will be used as the sender ID later in the EMM server configurations.