pushinbr/pam-native-firebase

Production Firebase Analytics, Remote Config, Messaging, Crashlytics and multi-app integration for PAM Native.

Maintainers

Package info

github.com/push-in/pam-native-firebase

Type:pam-native-plugin

pkg:composer/pushinbr/pam-native-firebase

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-08-01 05:54 UTC

This package is auto-updated.

Last update: 2026-08-01 06:13:51 UTC


README

Official Firebase integration for PAM Native: multi-app configuration, Analytics, Remote Config, Messaging token lifecycle, Installations and Crashlytics.

composer require pushinbr/pam-native-firebase
pam mobile prepare
$firebase = new Firebase();

$firebase->logEvent('checkout_completed', [
    'order_id' => $order->id,
    'amount' => $order->total,
], static function (FirebaseOperationState $state, ?string $error): void {
    // Handle native acceptance or failure.
});

$firebase->fetchRemoteConfig(static function (RemoteFetchResult $result): void {
    // Activated, fetched, throttled, or failed.
});

Android reads .pam/google-services.json through the PAM host and uses pinned main Firebase modules, not the discontinued KTX artifacts. Apple uses the official Firebase Swift Package products. Named apps can also be configured at runtime with FirebaseAppOptions.

Incoming notification presentation and routing remain owned by PAM Native's notification capability; this package owns Firebase token and service APIs.