1. Home
  2. Knowledge Base
  3. BuddyBoss App Docs
  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 powers push notifications on Android and iOS. By integrating Firebase V1 with your BuddyBoss App, you’ll enable real-time notifications for your members’ devices. This guide walks you through creating a Firebase project, enabling the Cloud Messaging API, generating service keys, registering your iOS and Android apps, and uploading configuration files in WordPress.

Tutorial Video

Creating a Firebase Project

  1. Log in to the Google Firebase Console.
  2. Click Create a new Firebase Project on the projects page.
A screenshot of the Firebase welcome dashboard with the Create a new Firebase project option highlighted in red The interface has a dark background Decorated geometric shapes are in the image background
  1. Enter a Project Name and click Continue.
A dark themed screen prompts the user to Enter your project name in a highlighted box with Create a project at the top and colorful abstract shapes in the background
  1. (Optional) Enable Google Analytics, click Continue, choose or accept the Default Account, then click Create Project.

If you enabled Google Analytics, select your Google Analytics account or select Default Account for Firebase. Click Create Project.

  1. Wait for the setup to coBuddyBosslete; then click Continue to open your new project.

Enabling Firebase Cloud Messaging API

  1. Click the Settings gear icon in the Firebase project.
  2. Select Project settings from the dropdown menu.
A screenshot of the Firebase consoles homepage in dark mode with the Project settings option highlighted under the Project Overview dropdown menu on the left sidebar
  1. Go to the Cloud Messaging tab.
Screenshot of the Firebase Project settings page with the Cloud Messaging tab selected and highlighted Sections show details for Cloud Messaging APIs including sender ID and service account information
  1. Confirm the Firebase Cloud Messaging API shows a green Enabled tick.
Screenshot of the Firebase Project settings page showing the Cloud Messaging tab with enabled APIs and details for Firebase Cloud Messaging API V1 and the older Cloud Messaging API Legacy on a dark background
  1. If it isn’t enabled:
    1. Click the menu next to Firebase Cloud Messaging API and choose Manage API in Google Cloud Console.
Screenshot of the Firebase Project settings page showing Cloud Messaging APIs The Firebase Cloud Messaging API V1 is enabled the older API Legacy is below An options menu three dots is highlighted
  1. You will then be redirected to the Google Cloud Messaging API product. Select ‘Manage’.
Screenshot of the Firebase Project settings page showing the Cloud Messaging tab with two API versions listed The Manage API in Google Cloud Console link is highlighted with a red box
  1. On the Google Cloud page, click Enable at the top to turn on the API.
  2. 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’.

Generating a Firebase Service Account Key

  1. In Project settings, open the Service accounts tab.
Screenshot of the Firebase consoles Project settings page showing the Service accounts tab A code snippet and options for Firebase Admin SDK and private key generation are visible The interface has a dark theme
  1. Scroll to Firebase Admin SDK and click Generate new private key.
  2. In the popup, click Generate Key.
  3. Save the downloaded .json file securely—it can only be downloaded once.

Creating Firebase iOS App

iOS app registration connects the BuddyBoss App to Firebase for iOS push notifications.

  1. Click the + Add App on the Firebase project dashboard.
Screenshot of the Firebase console welcome page in dark mode showing project overview and navigation menu on the left and options to add an app analytics and backend services in the main section
  1. Click the iOS icon to begin iOS app registration.
Screenshot of the Firebase console with a dark theme showing the project overview page Hello is highlighted in orange and there are options to build run and analyze on the left sidebar Various setup tips are displayed
  1. Navigate to Dashboard > BuddyBoss App > Configure > iOS Settings in WordPress.
  2. Copy the Bundle ID from the iOS Settings page.
A computer screen displays a web page with a section outlined in red for entering Release App Bundle ID and Test App Bundle ID including text fields and a Refresh Bundle IDs button Navigation menu is on the left
  1. Return to Firebase Console and paste the Bundle ID.
  2. (Optional) Add your app nickname, and App Store ID.
A screenshot of the Firebase console showing the Add Firebase to your Apple app screen with the fields for App bundle ID App nickname and App Store ID highlighted in red Blue laptop graphic on the right
  1. Click Register App to create the iOS app.
  2. Download the GoogleService-Info.plist file.
  3. Click Next through the remaining setup steps.
  4. Click Continue to console to finish iOS app registration.

Creating Firebase Android App

Android app registration connects the BuddyBoss App to Firebase for Android push notifications.

  1. Click + Add App on the Firebase project dashboard if not already open.
Screenshot of the Firebase dashboard in dark mode showing a welcome message and options to add an app analytics and backend Navigation menu is on the left and a beige abstract border surrounds the image
  1. Click the Android icon to begin Android app registration.
A screenshot of the Firebase dashboard with a yellow arrow pointing to the web platform icon highlighting steps to add a web app to a Firebase project The dashboard is in dark mode
  1. Navigate to Dashboard > BuddyBoss App > Configure > Android Settings in WordPress.
  2. Copy the Application ID from the Android Settings page.
A screenshot of an app configuration page showing a partially redacted Application ID field with app setup instructions and options for registering the application below Various menu items appear on the left sidebar
  1. Return to Firebase Console and paste the Application ID.
  2. (Optional) Add your app nickname.
Screenshot of the Add Firebase to your Android app screen showing fields for entering the Android package name and an optional app nickname both highlighted in red boxes The background has abstract shapes
  1. Click Register App to create the Android app.
  2. Download the google-services.json file.
  3. Click Next through steps 2-4 of the setup wizard.
  4. Click Done to finish Android app registration.

Connecting Firebase to BuddyBoss App

Firebase configuration files must be uploaded to WordPress for push notification functionality.

  1. Navigate to Dashboard > BuddyBoss App > Configure > Google Firebase.
  2. Locate the Firebase Cloud Messaging API V1 section.
  3. Click Upload next to the service account key field.
A dashboard interface shows the Configure tab with Google Firebase selected The page displays a Firebase Admin Key section and an Update it link highlighted in a red box
  1. Select the downloaded JSON service account file.
  2. Click Upload next to the iOS Configuration File field.
  3. Select the GoogleService-Info.plist file for iOS.
  4. Click Upload next to the Android Configuration File field.
  5. Select the google-services.json file for Android.
  6. Optionally upload test app configuration files in the test sections.
  7. Click Save Settings to finalize Firebase configuration.

Firebase V1 API configuration replaces Legacy Cloud Messaging API for push notification delivery.

Verifying Firebase Configuration

Firebase configuration verification ensures proper setup for push notification functionality.

  1. Navigate to Dashboard > BuddyBoss App > Configure > Google Firebase.
  2. Verify service account key file uploaded successfully.
  3. Confirm iOS configuration file displays in the iOS section.
  4. Confirm Android configuration file displays in the Android section.
  5. Check that Save Settings was clicked after uploads.
  6. Navigate to Firebase Console and verify both iOS and Android apps appear.
  7. Confirm Firebase Cloud Messaging API shows Enabled status.

Proper Firebase configuration enables push notification testing and delivery to member devices.

Troubleshooting and FAQs

Q: Why don’t my push notifications arrive after setup?
A: Verify you uploaded the correct service account JSON and platform config files.

Q: I get a “Missing API key” error in Firebase tab.
A: Confirm you enabled the Firebase Cloud Messaging API (V1) in Google Cloud Console, or refresh the Firebase page and re-upload the JSON key.

Q: How can I regenerate my service key?
A: In Service accounts, delete the old key, then click Generate new private key. Upload the new key in BuddyBoss App > Configure > Google Firebase.

Q: Do I need to re-upload config files for test builds?
A: Yes. If you generate separate test-app builds, upload their specific config files alongside the release files before saving.

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 hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.