Google Firebase Cloud Messaging powers push notifications on Android and iOS platforms. Firebase integration enables real-time alerts for members through the mobile application. This document covers creating a Firebase project, enabling the API, generating service keys, registering mobile apps, and uploading configuration files.
Understanding Firebase Integration
Firebase Cloud Messaging delivers push notifications to member devices across iOS and Android platforms. Firebase V1 API provides the current messaging infrastructure, replacing legacy messaging systems. Proper Firebase configuration requires project creation, API activation, service account key generation, and app registration for both platforms.
Creating Firebase Project
Firebase project creation establishes the foundation for push notification delivery.
- Log in to the Firebase Console at console.firebase.google.com.
- Klicken Sie auf Create a new Firebase Project on the projects page.

- Enter a project name in the project name field.

- Klicken Sie auf Weiter to proceed to the next step.
- Optionally enable Google Analytics by toggling the switch.
- Select or accept the default Analytik account if enabled.
- Klicken Sie auf Create Project to finalize project creation.
- Wait for the project setup to complete.
- Klicken Sie auf Weiter to open the new project dashboard.
Enabling Firebase Cloud Messaging API
Firebase Cloud Messaging API must be enabled before the push notifications function.
- Klicken Sie auf die Einstellungen gear icon in the Firebase project.
- Wählen Sie Project settings aus dem Dropdown-Menü.

- Klicken Sie auf die Cloud Messaging tab.

- Verify the Firebase Cloud Messaging API shows a green “Enabled” indicator.
- Wenn die Firebase Cloud Messaging API (V1) is not enabled, click the ⋮ menu.

- Wählen Sie Manage API in Google Cloud Console from the menu.

- Klicken Sie auf Aktivieren Sie über die Cloud Messaging API Seite.
- Confirm the API status displays as “Aktiviert“.
Firebase Cloud Messaging API (V1) supersedes the Legacy Cloud Messaging API for improved functionality.
Generating Firebase Service Account Key
The service account key provides authentication for WordPress to send push notifications through Firebase.
- Navigieren Sie zu Project settings > Service accounts in Firebase Console.

- Blättern Sie zum Firebase Admin SDK Abschnitt.
- Klicken Sie auf die Generate new private key Taste.
- Klicken Sie auf Generate Key in the confirmation pop-up.

- Save the downloaded JSON file to a secure location.
Creating Firebase iOS App
iOS app registration connects the MemberPress App to Firebase for iOS push notifications.
- Click the + Add App on the Firebase project dashboard.

- Klicken Sie auf die iOS icon to begin iOS app registration.

- Navigieren Sie zu Dashboard > MP App > Configure > iOS Settings in WordPress.
- Kopieren Sie die Bundle ID from the iOS Settings page.

- Return to Firebase Console and paste the Bundle ID.
- (Optional) Add your app nickname and App Store ID.

- Klicken Sie auf Register App to create the iOS app.
- Herunterladen der GoogleService-Info.plist Datei.
- Klicken Sie auf Weiter through the remaining setup steps.
- Klicken Sie auf Continue to console to finish iOS app registration.
Creating Firebase Android App
Android app registration connects the MemberPress App to Firebase for Android push notifications.
- Click + Add App on the Firebase project dashboard if it is not already open.

- Klicken Sie auf die Android icon to begin Android app registration.

- Navigieren Sie zu Dashboard > MP App > Configure > Android Settings in WordPress.
- Kopieren Sie die Application ID from the Android Settings page.

- Return to Firebase Console and paste the Application ID.
- (Optional) Add your app nickname.

- Klicken Sie auf Register App to create the Android app.
- Herunterladen der google-services.json Datei.
- Klicken Sie auf Weiter through steps 2-4 of the setup wizard.
- Klicken Sie auf Erledigt to finish Android app registration.
Connecting Firebase to MemberPress App
Firebase configuration files must be uploaded to WordPress for push notification functionality.
- Navigieren Sie zu Dashboard > MP App > Configure > Google Firebase.
- Suchen Sie die Firebase Cloud Messaging API V1 Abschnitt.
- Klicken Sie auf Hochladen next to the service account key field.

- Select the downloaded JSON service account file.
- Klicken Sie auf Hochladen next to the iOS Configuration File field.
- Wählen Sie die GoogleService-Info.plist file for iOS.
- Klicken Sie auf Hochladen next to the Android Configuration File field.
- Wählen Sie die google-services.json file for Android.
- Optionally upload test app configuration files in the test sections.
- Klicken Sie auf Einstellungen speichern to finalize Firebase configuration.
Firebase V1 API configuration replaces the Legacy Cloud Messaging API for improved push notification delivery.
Verifying Firebase Configuration
Firebase configuration verification ensures proper setup for push notification functionality.
- Navigieren Sie zu Dashboard > MP App > Configure > Google Firebase.
- Verify the service account key file was uploaded successfully.
- Confirm the iOS configuration file displays in the iOS section.
- Confirm the Android configuration file displays in the Android section.
- Check that Einstellungen speichern was clicked after uploads.
- Navigate to Firebase Console and verify that both iOS and Android apps appear.
- Confirm the Firebase Cloud Messaging API shows an “Aktiviert” status.
Proper Firebase configuration enables push notification testing and delivery to member devices.