eigen_firebase 0.3.0
eigen_firebase: ^0.3.0 copied to clipboard
Optional Firebase authentication, telemetry, crash reporting, and push adapters for EigenInteractive Flutter apps.
eigen_firebase #
Optional Firebase adapters for EigenInteractive Flutter applications.
eigen_flutter owns presentation and provider-neutral ports. This package
implements those ports with Firebase Auth, Analytics, Crashlytics, Cloud
Messaging, and Firebase Installations. Apps that use another identity or push
provider do not depend on this package.
import 'package:eigen_firebase/eigen_firebase.dart';
import 'package:eigen_flutter/eigen_flutter.dart';
import 'package:eigen_shell/eigen_shell.dart';
await runEigenShell(
module: gameModule,
config: appConfig,
initializeAdapter: () => initializeEigenFirebase(
firebaseOptions: DefaultFirebaseOptions.currentPlatform,
firebase: const FirebaseAdapterConfig(
googleWebClientId: googleWebClientId,
vapidKey: firebaseVapidKey,
),
onBackgroundMessage: backgroundMessageHandler,
telemetry: FirebaseTelemetryPolicy.releaseOnly(),
),
);
Telemetry collection defaults to disabled. Enabling it at the composition root is an explicit app/privacy decision.
Configure a Flutter app and its optional sibling Worker from the app directory:
dart run eigen_firebase:configure_firebase --worker ../server
See EigenInteractive documentation for project configuration and deployment.