1. Home
  2. Knowledge Base
  3. BuddyBoss App
  4. App Setup
  5. How to Configure Google Firebase in BuddyBoss App

How to Configure Google Firebase in BuddyBoss App

Introduction

Google Firebase Cloud Messaging (FCM) powers push notifications for the BuddyBoss App on both iOS and Android devices. By integrating Firebase with your BuddyBoss App, you enable real-time notifications that keep your members informed and engaged.

This guide walks you through creating a Firebase project, enabling the Firebase Cloud Messaging API, generating a service account key, registering your iOS and Android apps, and connecting Firebase to your BuddyBoss App.

Tutorial Video

Create a Firebase Project

To create a new Firebase project:

  1. Log in to the Google Firebase Console.
  2. Click Go to Console.
  3. Click Create a Project.
Get started area with a highlighted card Create a new Firebase project and flame icon subtitle Integrate Firebase products to super charge your app
image
  1. Enter a Project Name.
Modal titled Create a project on a dark panel with an input placeholder Enter your project name for naming the new project
image
  1. Click Continue.
  2. (Optional) Enable Google Analytics for your project.
  3. Select an existing Google Analytics account or use the default account.
  4. Click Create Project.
  5. Wait for the project setup to complete.
  6. Click Continue to open your new Firebase project.

Enable Firebase Cloud Messaging API

Before BuddyBoss can send push notifications, the Firebase Cloud Messaging API must be enabled.

To verify or enable the API:

  1. Open your Firebase project.
  2. Click the Settings Menu

.

  1. Select Project Settings.
  2. Open the Cloud Messaging tab.
Firebase console Project Settings page with Cloud Messaging tab selected and left navigation visible Mitch Test
image
  1. Confirm that Firebase Cloud Messaging API shows an Enabled status.

If the API is not enabled:

  1. Click the â‹® menu beside Firebase Cloud Messaging API.
Firebase console Project Settings Cloud Messaging tab with enablement status and a vertical ellipsis menu on the right
image
  1. Select Manage API in Google Cloud Console.
  2. On the Google Cloud page, click Enable.
  3. Confirm that the API status changes to Enabled.

Generate a Firebase Service Account Key

The service account key allows BuddyBoss to communicate securely with Firebase.

Button to generate a new private key for the service account in Firebase Admin SDK settings
image

To generate the key:

  1. Navigate to Settings > General.
  2. Select the Service Accounts tab.
  3. Scroll to Firebase Admin SDK.
  4. Click Generate New Private Key.
  5. Click Generate Key in the confirmation dialog.
  6. Save the downloaded JSON file securely.

Important: The private key can only be downloaded once. Store it in a secure location.

Register Your App

Registering your application connects your BuddyBoss App to Firebase for iOS push notifications.

In the Firebase Project Overview, click Add App.

Firebase Console Project Overview with an highlighted Add app button on dark dashboard
image

Register Your iOS App

To register your iOS app:

  1. Select the iOS platform.
  2. In your WordPress Dashboard, go to BuddyBoss App > Configure > iOS Settings.
Screenshot of BuddyBoss App Settings page showing iOS Settings and Bundle IDs section for configuring iOS builds
image
  1. Copy the Bundle ID.
  2. Return to Firebase and paste the Bundle ID.
  3. (Optional) Enter an App Nickname.
  4. (Optional) Enter your App Store ID.
  5. Click Register App.
  6. Download the GoogleService-Info.plist file.
  7. Continue through the remaining setup steps.
  8. Click Continue to Console.

Register Your Android App

To register your Android app:

  1. Select the Android platform.
  2. In your WordPress Dashboard, go to BuddyBoss App > Configure > Android Settings.
WordPress admin dashboard showing BuddyBoss App settings with Android Settings tab selected and App Configuration panel visible
image
  1. Copy the Application ID.
  2. Return to Firebase and paste the Application ID.
  3. (Optional) Enter an App Nickname.
  4. Click Register App.
  5. Download the google-services.json file.
  6. Continue through the remaining setup steps.
  7. Click Done.

Connect Firebase to BuddyBoss App

After downloading the Firebase configuration files, upload them to your BuddyBoss App.

To connect Firebase:

  1. In your WordPress Dashboard, go to BuddyBoss App > Configure > Google Firebase.
  2. Locate the Firebase Cloud Messaging API V1 section.
  3. Upload the Service Account Key using the downloaded JSON file.
  4. Upload the GoogleService-Info.plist file under the iOS Configuration File section.
  5. Upload the google-services.json file under the Android Configuration File section.
  6. (Optional) Upload the configuration files for your test applications if applicable.
  7. Click Save Settings.

Note: BuddyBoss App uses Firebase Cloud Messaging API V1, which replaces the legacy Cloud Messaging API.

Verify the Configuration

After saving your settings, verify that Firebase has been configured correctly.

In BuddyBoss

Navigate to BuddyBoss App > Configure > Google Firebase and confirm that:

  • The Service Account Key has been uploaded.
  • The iOS configuration file is displayed.
  • The Android configuration file is displayed.
  • The settings have been saved successfully.

In Firebase Console

Verify that:

  • Both your iOS and Android applications appear in the Firebase project.
  • Firebase Cloud Messaging API is enabled.
  • No configuration errors are displayed.

Once these steps are complete, your BuddyBoss App is ready to send push notifications to your members on both iOS and Android devices.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form