streamplay_analytics 0.2.0 copy "streamplay_analytics: ^0.2.0" to clipboard
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 [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add streamplay_analytics

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  streamplay_analytics: ^0.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:streamplay_analytics/streamplay_analytics.dart';
0
likes
110
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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, streamplay-analytics-sdk). Same 4-function contract, same event names/fields — see ANALYTICS_PHASE_5_FLUTTER_PRD.md and ANALYTICS_EVENT_REFERENCE.md in streamplay_backend for the full spec.

Repository (GitHub)

License

unknown (license)

Dependencies

flutter, http, mixpanel_flutter, posthog_flutter

More

Packages that depend on streamplay_analytics