FCM Server Key
Upload the Certificate
To send app push notifications to android devices it was necessary a GCM/FCM Server Key provided by FCM. We maintain the explanation below but now you only need to upload a certificate (JSON file) to continue sending app pushes.
You need to upload this certificate by June 2024
If you don't upload this certificate, you can´t send app push notifications to android devices from June 2024.
How can I upload the certificate? It is easy, please follow these steps:
-
Go to Firebase website (https://firebase.google.com)
-
After signing in, please click on Go to console at the top right area.
-
Choose the project clicking on it.
-
Click on the principal menu on the wheel icon of the first option: Project Overview >> Project settings.
-
In the main menu, click on the Service accounts section.
-
Generate new private key:
- Make sure you have the Firebase Cloud Messaging (V1) API enabled. If you don't have it enabled, enable it by clicking on the three dots on the right.
- After downloading the file, please go to the indigitall console in the project section (App Push tab / Android) to upload the certificate.
- It is done! When you upload the certificate, it appears on the screen as a certificate attached.
Get the server keys for FCM
This field is no longer needed. Now only it is necessary to upload the certificate.
First, you log into Firebase Developer Console and go to your control panel.
Then click on the "settings" icon and go to Project settings . As shown in the following picture.
The Settings screen will open in the General section. Now we must go to the part that says Your Apps , if you already have an app created (android and / or iOS), you should see something similar to the image below. If not, you must create an app by clicking the button Add an app , and follow the steps indicated. From this section we can get a configuration file, google-services.json.
The next thing is to obtain our Server Key and senderID , which we will need for the configuration of the project in indigitall. To do this we must go to the navigation bar and click on Cloud Messaging.
Once in Cloud Messaging, we must copy the data that appears in Project credentials, which are Server Key or Server Key and the sender ID or SenderID . If this data does not exist, we must click on Add server key to generate the data.
With this data we can continue with the configuration of the project.
Updated 4 months ago