analytics_hub_firebase 0.3.0
analytics_hub_firebase: ^0.3.0 copied to clipboard
Firebase Analytics provider for analytics_hub. Sends LogEvent events to Firebase via the official SDK.
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.4.0 <0.5.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.