#Preparing

#1 Firebase Account Registration

  • Push message channels using FCM need to integrate Google services. If the application has integrated Google related services, you can skip the download of google-service.json.
  • Firebase address:https://console.firebase.google.com/

#1.1 Firebase server key

Add the application according to the process, open the application settings page, and copy the server key. This key is needed to add the application in the push background.
View by: Firebase - Project Settings - Cloud messaging

#1.2 Google Services Profile

Go to the settings page to download google-services.json, and put this file under the application module.

#2 Background app added

Formal environment: https://console.twibida.com/
Open the background page and enter the add application interface, as shown in the figure below: