In this tutorial we will go through how to connect your free Google Firebase to your Buddyboss app. Google Firebase V1 is how your app handles notifications to your customers’ devices for both your android and iOS platforms.
To start 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’. This is shown by the green enabled tick next to ‘Firebase Cloud Messaging API (V1).
NOTE: If your V1 API is already enabled you can skip to ‘Generate Account 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’.
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 ‘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.