analytics_hub_firebase 0.4.0
analytics_hub_firebase: ^0.4.0 copied to clipboard
Firebase Analytics provider for analytics_hub. Sends LogEvent events to Firebase via the official SDK.
0.4.0 - 2026-02-26 #
Changed #
- Updated dependency constraint to
analytics_hub: ">=0.4.0 <0.5.0"to align with the core 0.4.0 release and the newEventProvider.overridesAPI. - Renamed provider identifier from
FirebaseAnalyticsHubProviderIdentifiertoFirebaseAnalyticsHubIdentifierfor consistency with other official providers.
Breaking Changes #
- Event definitions and imports must now use
FirebaseAnalyticsHubIdentifierinstead ofFirebaseAnalyticsHubProviderIdentifier.
0.3.3 - 2026-02-24 #
Changed #
- Updated dependency constraint to
analytics_hub: ">=0.3.3 <0.4.0". - Added
loggingdependency and provider-level logging for lifecycle behavior. - Updated
FirebaseAnalyticsHubProviderconstructor call to the new core provider contract (explicitinterceptors). - Implemented provider
flush()override (no-op with informational log; Firebase SDK has no explicit flush API). - Added tests for the provider flush behavior.
0.3.1 - 2026-02-24 #
Changed #
- Updated dependency constraint to
analytics_hub: ">=0.3.1 <0.4.0". - Synced resolver/tests with the refined typed context API used by core (
Context/ContextEntry-based dispatch context). - Updated README docs (EN/UA) and version snippets to
0.3.1.
0.3.0 - 2026-02-24 #
Changed #
- Reverted Firebase provider to a single
LogEventflow. - Refreshed examples/tests/docs for
List<EventProvider>andProviderIdentifier. - Updated dependency constraint to
analytics_hub: ">=0.3.0 <0.4.0". - Migrated
FirebaseAnalyticsEventResolverto new core resolver API based onResolvedEventandEventDispatchContext. - Updated tests for the new dispatch contract.
Removed #
FirebaseAnalyticsECommerceEventResolver.ECommerceEventResolverimplementation fromFirebaseAnalyticsEventResolver.- All README references to GA4 e-commerce event classes in this package.
Breaking Changes #
analytics_hub_firebaseno longer supports e-commerce event types from core.- Resolver implementation now must implement
resolve({required ResolvedEvent event, required EventDispatchContext context}).
0.2.2 - 2026-02-23 #
Changed #
- Updated
FirebaseAnalyticsEventResolverto support nullable values inLogEvent.propertiesby filtering outnullentries before callingFirebaseAnalytics.logEvent. - Updated dependency constraint to
analytics_hub: ">=0.2.2 <0.3.0".
0.2.1 - 2026-02-23 #
0.2.0 - 2026-02-23 #
Changed #
- Migrated provider identity usage from
ProviderKeytoProviderIdentifier. - Updated examples and tests to the new
Event.providersAPI withEventProvider. - Updated dependency constraint to
analytics_hub: ">=0.2.0 <0.3.0".
Breaking Changes #
FirebaseAnalyticsHubProvidernow usesidentifierinstead ofkey.FirebaseAnalyticsHubProviderKeynow extendsProviderIdentifier<FirebaseAnalyticsEventResolver>.- Events targeting Firebase must define
providers(List<EventProvider<...>>) instead ofproviderKeys.
0.1.0 - 2026-02-11 #
Added #
- Implemented all GA4 e-commerce events in
FirebaseAnalyticsECommerceEventResolver:AddToCart,AddToWishlist,ViewCart,AddPaymentInfo,AddShippingInfo,BeginCheckout,Purchase,RemoveFromCart,SelectItem,ViewItem,ViewItemList,ViewPromotion,Refund(in addition to existingSelectPromotion). - Public API documentation for provider, key, and resolvers.
- Dependency on
analytics_hub: ">=0.1.0 <0.2.0".
0.0.1 - 2026-02-10 #
Added #
- Initial Firebase Analytics provider integration for
analytics_hub. FirebaseAnalyticsHubProviderandFirebaseAnalyticsHubProviderKeyfor routing events to Firebase.FirebaseAnalyticsEventResolvermappingLogEventtoFirebaseAnalytics.logEvent.FirebaseAnalyticsECommerceEventResolverhandlingSelectPromotionECommerceEventviaFirebaseAnalytics.logSelectPromotion.- Session handling in provider using
FirebaseAnalytics.setUserIdbased onSession.id.