Menú adicional

¡Consiga MemberPress hoy mismo! ¡Empieza a cobrar por los contenidos que creas! Obtenga MemberPress ahora

Setting Up Firebase for MemberPress App

Firebase powers push notifications and optional Google Analytics for the MemberPress App. With Firebase, you can send native push notifications to Android and iOS users, and track user engagement through Analytics if enabled. This guide explains how to create a Firebase project, register iOS and Android apps, configure Cloud Messaging for push notifications, and optionally enable Google Analytics.

Understanding Firebase Integration

Firebase integration provides backend services for push notification delivery and analytics tracking across mobile platforms.

Push notification delivery enables real-time message distribution to Android and iOS devices. Firebase Cloud Messaging handles notification routing and delivery to member devices.

Analytics tracking monitors user engagement and behavior within the application. Google Analytics integration provides insights into member activity and app usage patterns.

Cross-platform support enables unified notification management for iOS and Android. A single Firebase project manages both platform integrations simultaneously.

Configuration flexibility allows for optional Analytics enablement based on tracking needs. Analytics can be enabled or disabled during project creation or later.

Creating Firebase Project

Firebase project creation establishes the foundation for push notification and analytics services.

  1. Ir a Firebase Console.
  2. Haga clic en Create project.
  1. Introduzca un Nombre del proyecto y haga clic en Continúe en.
  1. To enable Analytics, leave Enable Google Analytics for this project checked.
  2. To skip Analytics, uncheck the option and click Continúe en.
  3. If Analytics is enabled, select an existing account or create a new one, then click Continúe en.
  4. Haga clic en Create project and wait for initialization.
  5. Haga clic en Continúe en to open your project's dashboard.

Registering iOS App

iOS app registration connects the MemberPress App to Firebase for push notification delivery.

  1. In the Firebase project overview, click the + Add App.
  1. Seleccione iOS icon under Get started by adding Firebase to your app.
  1. Enter your iOS app's Bundle ID (must match your Xcode project).
  2. Optionally enter an App nickname y App Store ID.
  1. Haga clic en el botón Register app.
  2. Descargar el GoogleService-Info.plist file and add it to your Xcode project.
  3. Follow the CocoaPods integration instructions provided, then click Continue to console.

Registering Android App

Android app registration connects the MemberPress App to Firebase for push notification delivery.

  1. Haga clic en el botón Android icon under Get started by adding Firebase to your app.
  1. Enter your Android Package name.
  2. Optionally add an App nickname.
  1. Haga clic en el botón Register app.
  2. Descargar el google-services.json file and place it in your /app/ module directory.
  3. Add the Firebase SDK dependencies in your Gradle files as instructed, then click Continue to console.

Configuring Push Notifications

Push notification configuration enables the Cloud Messaging service for Android and iOS platforms.

  1. In Firebase Console, click the gear icon > Project settings.
  1. Seleccione Cloud Messaging ficha.

For Android

  1. Copie el Server key displayed in the Cloud Messaging section.
  2. Copie el Sender ID displayed in the Cloud Messaging section.

For iOS (APNs)

  1. En APNs certificatespulse Cargar.
  2. Upload your .p8 key file.
  3. Enter the Key ID in the Key ID field.
  4. Enter your Team ID in the Team ID field.
  5. Haga clic en Guardar.

Enabling Google Analytics

Google Analytics enablement provides user engagement tracking and behavior monitoring within the application.

  1. In Firebase Console, go to Analytics > Dashboard to verify data collection.
  1. In WordPress Admin, navigate to Dashboard > MP App > Settings > Integrations > Firebase.
  2. Activar Enable Firebase Analytics.
  3. Enter your Firebase Project ID in the Project ID field.
  4. Haga clic en Guardar cambios.
¿Le ha resultado útil este artículo?

Artículos relacionados

chica del ordenador

¡Consiga MemberPress hoy mismo!

Empieza a cobrar por los contenidos que creas.