feat(analytics): add FirebaseAnalyticsBackend (firebase wiring pt.1)
Adds firebase_core + firebase_analytics and a FirebaseAnalyticsBackend that adapts the existing AnalyticsBackend interface to GA4. Kept in its own file so the typed AnalyticsService and DebugAnalyticsBackend stay free of the firebase dependency (unit tests never pull in platform channels). Not yet wired into main() — that needs lib/firebase_options.dart from flutterfire configure (owner step). All 161 tests still green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,8 @@ dependencies:
|
||||
http: ^1.6.0
|
||||
crypto: ^3.0.7
|
||||
path_provider: ^2.1.5
|
||||
firebase_core: ^4.10.0
|
||||
firebase_analytics: ^12.4.2
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user