Skip to main content
Skip table of contents

Google Firebase

Overview

This section describes the steps to be taken to use Google Firebase with RPI.

Creating and Configuring a New Google Project

This section describes how to create and configure a new Google project. If you have created one previously, you may skip this section. Otherwise, please follow the steps below:

  1. In a web browser, log into the Google API console at https://console.developers.google.com/apis/credentials using a Gmail account.

  2. If this is your first time accessing the Google Developer Console, create a new project by clicking on the Create Project button. If not, skip this step.

    image-20250909-200401.png
  3. Enter the name of the project and click Create button. Leave the default Project ID value.

    image-20250909-200423.png
  4. Having successfully created the project, double-click the project name.

    image-20250909-200503.png

Enabling Google Firebase Cloud Messaging API Key

This section describes how to enable a Google Firebase Cloud Messaging API Key. Please follow the steps below:

  1. Go to your Google Project’s dashboard by navigating to API & Services > Credentials.

  2. In the Credentials page, click Create Credentials and select API key.

    image-20250909-200533.png
  3. The API key having been created; you are given the option to restrict it.

    image-20250909-200552.png
  4. Click Restrict Key. You will be provided with options as to which restrictions are to be applied.

  5. Make sure that ‘None’ is selected at Application restrictions.

  6. At API restrictions, select ‘Don’t restrict key’, or select ‘Cloud Messaging’ at the Restrict key dropdown.

    image-20250909-200623.png
    image-20250909-200646.png

Provisioning an OAuth Client ID

This section describes how to provision a new Google Firebase OAuth Client ID.

  1. At the Credentials page, click Create Credentials and select OAuth client ID.

    image-20250909-200732.png
  2. Choose “Web Application” as the application type. Set an authorized redirect URI. This will be used at the Google Firebase channel configuration.

    image-20250909-200750.png
  3. Save your Client ID and Client Secret. These will be used when configuring a channel.

    image-20250909-200821.png

Provisioning a Google Firebase Cloud Messaging Project

  1. In a web browser, navigate to https://console.firebase.google.com/u/0/ and log into the Google Firebase console page.

  2. Click Add project.

    image-20250909-200859.png
  3. Enter the project’s name.

    image-20250909-200918.png
  4. Click Continue at step 2.

    image-20250909-200942.png
  5. Select an account at step 3.

    image-20250909-201008.png
  6. After your Firebase project has been created, you must add your app (e.g., iOS, Android) in it. For detailed and accurate steps, please refer to the following:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.