streamplay_analytics 0.2.0
streamplay_analytics: ^0.2.0 copied to clipboard
One analytics module for the Flutter app — swap the vendor (Mixpanel, PostHog, ...) from the CMS, no code change. Dart port of @matchbest-group/streamplay-analytics (the web SDK — separate repo, strea [...]
0.2.0 #
- Added
languageas a 6th auto-filled event field — read automatically from the device's own locale (PlatformDispatcher.instance.locale), never a manual setting, matching the same addition on the web SDK.
0.1.0 #
- Initial release — Dart/Flutter port of
@matchbest-group/streamplay-analytics(the web SDK). - Same 4-function contract:
initAnalytics,trackEvent,identifyUser,resetUser. - Real Mixpanel and PostHog adapters (
mixpanel_flutter,posthog_flutter). - Core logic (state machine, event queue, context snapshotting) covered by 40 tests.