Connect Google Firebase
Please Note: Google Firebase legacy depreciation date is 20th June 2023. This means the if you have note updated to the what is known as 'V1' by then push notifications will stop working. Please follow the steps below to update now and avoid any down time.
In this tutorial we will go through how to connect your free Google Firebase V1 to your Buddyboss app. Google Firebase is how your app handles notifications to your customers' devices for both your android and iOS platforms.
Login to your Google Firebase Console and select your app project.
In your project's home page navigate to the project overview settings found on the left menu sidebar.
Once in your project settings, navigate to the second option - Cloud Messaging.
Here you can first see the status of your Firebase Cloud Messaging API.
First you want to check that your Cloud Messaging API is ‘Enabled’, donated by the green enabled tick next to ‘Firebase Cloud Messaging API (V1).
NOTE: If your V1 API is already enabled you can skip to ‘Create a Service Key’ section of this article. If you are not seeing the green enabled tick then the following information will walk you through enabling your Firebase API.
To enable your API select the 3 dot ellipses in the right corner which will give you the option to link to ‘Manage API in Google Cloud Console’
You will then be redirected to the Google Cloud Messaging API product. Select ‘Manage’.
You will then see the option to either enable or disable the API at the top and you will also see the status of your API, make sure it says ‘Enabled’.
Once you are happy your API is enabled you can move on to creating a firebase service key.
Generate Account Key
Now your Firebase API is enabled you can create your service account and key. Lets navigate back to your Google Firebase Project Settings where you will select the ‘Service Account’ tab in the top menu bar.
Scroll down until you see the option to 'Generate new private key'.
A pop up will appear to 'Generate Key' and the key will now be downloaded to your computer. Please note the warning to save this key somewhere safe!
Connect Firebase to Buddyboss
Navigate to your Wordpress admin Buddyboss App - Configure - Google Firebase to upload your now downloaded .JSON file under Firebase Cloud Messaging API V1.
NOTE: If you already have the Cloud Messaging API (Legacy) already set up, the new V1 API supersedes the legacy API which will no longer be supported by Google and the Buddyboss product in the near future.
Did you find it helpful? Yes No
Send feedback