Firebase 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.

Get your API Key from Google

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

  1. Go to the Firebase site.

  2. Click Create New Project, enter a project name, then click Create Project:

  3. Click the gear icon, 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 to be used later for the Urban Airship SDK Setup.

Configure FCM/GCM Service with Urban Airship

In the UA web application, go to your app, click the Engage tab, then click the Settings icon and select Services to set up your application with GCM:

Add your FCM/GCM API Key from Google and your package here:

For more details about configuring your app, as well as using the Urban Airship web application, check out the Engage User Guide.

Configure Urban Airship SDK

You must integrate the Urban Airship SDK into your Android application to send notifications. Please see Urban Airship SDK Setup for details.