Skip to main content
FCM (Firebase Cloud Messaging) is a cross-platform messaging solution that supports Android, iOS, and Web platforms. It is an enhanced version of GCM (Google Cloud Messaging). If you want your exclusive App to receive offline push notifications on overseas devices, please apply for FCM and provide the required materials.

Apply for FCM

1

(1) Apply for a Google Developer Account

2

(2) Register on Firebase

Create a project and register an app on Firebase. Registration URL: https://console.firebase.google.com/After creating the project, select the Android icon to configure the Android app:
Configure the Android app on Firebase
Please note:
  • Android package name: Enter the correct exclusive DingTalk package name
  • App nickname (optional): Enter the exclusive DingTalk app name
Enter the Android package name and app nickname
3

(3) Download the Configuration File and Upload to the DingTalk Packaging Platform

Click to download google-services.json. Save the file and send it to DingTalk technical support for configuration.
Download google-services.json
4

(4) Access the Console to Configure Additional Parameters

Proceed to the final step and go to the console.
Go to the console
5

(5) Create a Service Account Key

Navigate to Project settings > Service accounts > Generate new private key, as shown below:
Project settings, Service accounts, Generate new private key
Generate private key dialogConfirm private key generation
After clicking Generate key, a JSON file will be automatically generated. Save the file and send it to DingTalk technical support:
Generated service account key JSON file
6

(6) Create a Realtime Database

Click Create Database:
Create Database
Realtime Database setup stepRealtime Database rules step
Click Enable, then copy the database URL as a packaging material.
Copy the database URL
7

(7) Provide the Above Materials to DingTalk for Configuration

  • google-services.json
  • Service account key JSON file
  • Realtime Database URL
8

(8) Test FCM via the Firebase Console (Optional)

Note: This step is optional.
To verify FCM, you need to prepare a device with Google push services (an Pixel device is recommended). Go to the Firebase console and select Messaging.
Select Messaging in the Firebase console
Follow the prompts step by step to send a test notification. Important: Only test before going live — avoid sending messages to all users to prevent service disruptions.
Send a test notification
After sending, the device will receive the test notification, indicating that the FCM setup was successful:
Device receives the test notification