1. Configure FCM
Pusher relies on Firebase Cloud Messaging (FCM) to deliver push notifications to Android application users on your behalf. When we deliver push notifications, we use your FCM credentials. This page guides you through the process of getting an FCM Server Key and how to provide it to Pusher.
Head over to the Pusher dashboard and create a new instance of Beams. After that, you can either follow the interactive quickstart over there, or return here to follow the documentation steps.
To help you find your way around, this video mirrors the steps listed below.
The first step is to go your Firebase console. Sign up if you haven't already.
To create a new app, you'll need to supply the name and region (0:03 ).
Once the app is registered, you should click the button to download google-services.json (0:25 ).
Keep a note of the file's location, as eventually you will add it to your Android app's project on your computer.
This FCM Server Key can be saved to your Pusher Beams instance in the dashboard.integrate our Android SDK into your project.