For the complete documentation index, see llms.txt. This page is also available as Markdown.

Firebase App Setup

Instructions for creating the required credentials to enable Android notifications

Firebase App

First, go to the Firebase console, log in, and select your existing project or add a new project.

Within your project click the gear icon next to the Project Overview section in the sidebar and select General.

Firebase Cloud Message API (V1) Setup

Find your Sender ID (Project ID)

On the General tab find the Project number. Use this value as the Firebase Sender ID.

Firebase uses the project number as its Sender ID.

Download the service account JSON

Open the Service accounts tab.

Under Firebase Admin SDK, click Generate new private key.

In the confirmation dialog, click Generate key. Your browser downloads the service account JSON file.

Enable Integration in Platform

Log into the platform, navigate to the Settings page, and locate the Send Integrations section.

From here, click the Edit button in the Send Integration header, enable the Native switch under the Android heading and:

  1. Enter the Firebase Sender ID that you retrieved earlier.

  2. Click the Upload your Service Account JSON File area and choose the file you downloaded.

  3. Click the Submit button

If everything was entered correctly you should now see a section underneath Send Integrations that shows an active Android Native integration.

Once this step is complete you can continue with implementation of the SDK into your app

Cloud Messaging API (Legacy / Deprecated)

If the Cloud Messaging API (Legacy) is marked as disabled you will need to enable it.

Follow these steps:

  • Click on the 3 dots next to Cloud Messaging API (Legacy)

  • Select Manage API on Google Cloud Console

  • Click Enable on the tab that opened

  • After the page reloads you can close this tab and return to the Firebase Console

  • On the Firebase Console tab refresh the page to reflect the enabled API

Once the legacy API has been enabled the Server Key and Sender ID will be displayed. Copy down each of these values and proceed to the Pushly platform.

Log into the platform, navigate to the Settings page, and locate the Send Integrations section.

From here, click the Edit button in the Send Integration header, enable the Native switch under the Android heading and:

  1. Enter the Firebase Sender ID

  2. Choose Legacy from the pill selection

  3. Enter the Server Key

  4. Click the Submit button

If everything was entered correctly you should now see a section underneath Send Integrations that shows an active Android Native integration.

Once this step is complete you can continue with implementation of the SDK into your app

Last updated