Firebase Setup for Notifications

Enable push notifications for your app by integrating Firebase, a tool that connects your app with iOS and Android devices.

Firebase by Google powers push notifications in your app. It’s free, and it connects your WordPress site to Android and iOS for real-time messaging.

Set up a Firebase project and generate the required keys.

Access Firebase Console

  1. Visit https://firebase.google.com
  2. Make sure you’re logged into the same Google account you use for Google Cloud.
  3. Click Go to Console.

Create or Link Your Firebase Project

  1. Click Create a Project.
  2. If you’ve already configured your Android project, click to add Firebase to your existing Google Cloud project.
  3. Select your project from the dropdown.
  4. If you’re starting from scratch, simply create a new project.
  5. Enable Google Analytics if desired (you can also do this later).
  6. Select your Google Analytics account and click Continue.

Enable Firebase Cloud Messaging API V1

  1. Click the Gear Icon next to your project name > Project Settings.
  2. Go to the Cloud Messaging tab.
  3. Look for Firebase Cloud Messaging API (V1) and ensure it says Enabled.
  4. If not:
    • Click the 3 dots > Manage API in Google Cloud Console
    • Click Manage > Enable the API

Generate Firebase Admin SDK Key

  1. Go to the Service Accounts tab
  2. Under Firebase Admin SDK, click Generate New Private Key
  3. Save the file securely on your computer

Create Firebase Apps for Android & iOS

You’ll need to create 4 Firebase apps:

  1. iOS Test App
  2. iOS Release App
  3. Android Test App
  4. Android Release App

For iOS Apps:

  1. Click Add App > Select iOS
  2. Copy the Bundle ID from:
    • WordPress Dashboard > BuddyBoss App > Configure > IOS Settings
  3. Paste it in Firebase and click Register App
  4. Download the config file and save it

*Repeat for the Release version.

For Android Apps:

  1. Click Add App > Select Android
  2. Copy the Application ID from:
    • WordPress Dashboard > BuddyBoss App > Configure > Android Settings
  3. Paste it in Firebase > Name your app > Register App
  4. Download the config file

*Repeat for the Release version.

Upload Firebase Files to BuddyBoss App

  1. Go to WordPress Dashboard > BuddyBoss App > Configure > Google Firebase
  2. Upload the following:
    • Admin SDK Key
    • iOS Test and Release Config Files
    • Android Test and Release Config Files
  3. Click Save Changes

Note: If you ever change your Bundle IDs or Application IDs, you must repeat the Firebase setup.

Configure iOS Push Notifications

  1. Visit https://developer.apple.com
  2. Click Account > Go to Certificates, Identifiers & Profiles > Keys
  3. Click the + icon to create a new key
  4. Name the key > Select Apple Push Notification service (APNs)
  5. Click Register and Download the Key (save it securely)

Now, go back to Firebase:

  1. Project Settings > Cloud Messaging tab
  2. Under Apple Apps, click Upload
  3. Upload your APNs Key file
  4. Enter your:
    • Key ID (found in Apple Developer Portal)
    • Team ID (also found in Developer Portal)
  5. Click Upload

*Repeat this for both test and release iOS apps.

Tutorial Video: