FCM
Before integrating FCM with Fyno, you will need to have an account already set up in FCM with an App built (SDK) within FCM.
- Navigate to Integrations.
- Under "Push" section, click on the "FCM" button.
- In the pop-up that appears, fill in:
- Custom name: Provide a name that would help you identify the configured account in Fyno's portal.
- Firebase Project ID: Log into your Firebase (FCM) panel and find the app that you would like to connect to.
- On the "Project Overview" tab on the left navigation panel, find the "Settings" icon, and select "Project Settings".
- On the page that opens, on the ribbon menu find " Service Accounts" and click on "Generate New Private Key". If you are not able to see "Generate New Private Key", you will need to first "Create a new Service Account" by clicking on the button.
- Once downloaded, open the file, which will have the "project_id". Fill in the details.
- Private Key: Following the same steps as above, you can find the "Private Key" in the file that opens.
- Client Email: Following the same steps as above, you can find the "Client Email" in the file that opens.
- Click on "Add Account" once done and you are all set!
Wait! "Private Key" format is important!
When you copy the "Private Key" from the downloaded file, copy the entire value that is mentioned within the quotes, which includes the prefix and suffix as below:
"-----BEGIN PRIVATE KEY-----your_key-----END PRIVATE KEY-----"
Message Delivery Status
FCM, by default, provides the status of the message without any additional set-up needed. You will only need to make sure to deploy Fyno's SDK with your application.
Once the above integration is complete, the status of the notification, which will be shared by FCM will be displayed in the logs, when you click on it, under the Delivery tab.
Updated about 1 year ago