Getting Started with GCM

Follow these steps to properly configure your Titanium application to use GCM as the transport for Urban Airship push notifications.

NOTE

You will not need to make the changes to the AndroidManifest.xml that you see in the setup guide. This will be done for you automatically during the application build process.

Step 1: Get your API Key from Google

  1. Go to the Google API Console
  2. Create a project (note the Project Number -- you will need it in step 3 below)
  3. Enable GCM (Google Cloud Messaging for Android)
  4. Generate an API key

Step 2: Setting things up with Urban Airship

Set the GCM API Key for your application in the Urban Airship console.

Step 3: Configure GCM Transport

Set the Urban Airship options in your airshipconfig.properties file to use the GCM transport.

  transport = gcm
  gcmSender = 12345678901

Important Notes

GCM Documentation