FCM Setup

Google Cloud Messaging (GCM) has been rebranded to Firebase Cloud Messaging (FCM). Urban Airship apps using GCM today should experience no issues, but Google strongly recommends that you upgrade your Android push notification transport system to Firebase as soon as possible.

Google Steps

Get Your API Key

In order to configure your Urban Airship application for FCM, you must first obtain an API key from Google.

  1. Log in to the Firebase console.

    If you already have a Firebase project, open it now and skip to step 3.

  2. Click the Add project button, enter a project name in the window that opens, then click the Create Project button.
  3. In the left side menu, click the gear icon next, then select Project settings.
  4. Select Cloud Messaging from the options at the top of the screen, then copy the Server key and Sender ID values for use in the Urban Airship SDK step below.

Urban Airship Steps

Configure the Android Service

  1. Choose your project from the Urban Airship dashboard, click the Settings dropdown menu, then click Platforms.
  2. Click the Configure button for Android, enter the API key from the completed Google Steps and the Firebase Package name.
  3. Click the Save button, or cancel to discard.

For more information about configuring your project, as well as how to use the Urban Airship web application, see the Engage User Guide.

Next Steps

Configure the UA SDK

To send notifications, you must integrate the Urban Airship SDK into your Android application. See: Android: SDK Installation.