Skip to content

Google FCM

Firebase Cloud Messaging (FCM) is Google's cross-platform push notification service.

Prerequisites

  1. You already have a Google account.
  2. Users in mainland China need a VPN to access the Firebase console.

Steps

  1. Open and sign in to Google Firebase

  2. Click Get started or Go to console.
    20240527161425

  3. Click Create a project.
    20240527161436

  4. Enter the new project name, accept the terms and confirm the purpose, then click Continue.
    20240527161450

  5. Turn off Google Analytics (optional—you may leave it on), then click Create project.
    20240527161503

  6. Click Continue.
    20240527161517

  7. After the project is created, add an app by clicking the Android button in the middle.
    20240527161528

  8. Enter the app information. Copy the Android package name from the Ubases IoT development platform. The app nickname is optional; you can use the App name. Click Register app.
    20240527161542

This is where you copy the Android package name.
20240527161559

Click Next.
20240527161622

Click Next.
20240527161637

Click Continue to console.
20240527161646

  1. In the console, click the settings icon, then Project settings.
    20240527161658

  2. Click Service accounts > Generate new private key. A private-key JSON file is downloaded to your computer.
    20240527161709
    20240527161721

  3. Click General, scroll to the Android app section, and click google-services.json to download the file.
    20240527161735

20240527161746

Upload the private-key JSON file and google-services.json to the Ubases IoT Open Platform, then click Save.
20240527161805

20240527161815

Released under the MIT License. Build Time 2026-09-11 14:52:23