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

110/ 160
pub points
21
downloads

We analyzed this package 11 hours ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/matchbest-group/streamplay-analytics-flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/matchbest-group/streamplay-analytics-flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

2 out of 14 API elements (14.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: streamplay_analytics.InitAnalyticsConfig.InitAnalyticsConfig.new, streamplay_analytics.InitAnalyticsConfig.adapter, streamplay_analytics.InitAnalyticsConfig.apiBaseUrl, streamplay_analytics.InitAnalyticsConfig.configFetchTimeoutMs, streamplay_analytics.InitAnalyticsConfig.debug.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:streamplay_analytics/streamplay_analytics.dart that imports:
  • package:streamplay_analytics/src/core.dart that imports:
  • package:streamplay_analytics/src/adapter_registry.dart that imports:
  • package:streamplay_analytics/src/adapters/posthog_adapter.dart that imports:
  • package:posthog_flutter/posthog_flutter.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:streamplay_analytics/streamplay_analytics.dart that imports:
  • package:streamplay_analytics/src/core.dart that imports:
  • package:streamplay_analytics/src/adapter_registry.dart that imports:
  • package:streamplay_analytics/src/adapters/posthog_adapter.dart that imports:
  • package:posthog_flutter/posthog_flutter.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:streamplay_analytics/streamplay_analytics.dart that imports:
  • package:streamplay_analytics/src/core.dart that imports:
  • package:streamplay_analytics/src/adapter_registry.dart that imports:
  • package:streamplay_analytics/src/adapters/mixpanel_adapter.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:streamplay_analytics/streamplay_analytics.dart that imports:
  • package:streamplay_analytics/src/core.dart that imports:
  • package:streamplay_analytics/src/adapter_registry.dart that imports:
  • package:streamplay_analytics/src/adapters/mixpanel_adapter.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
http ^1.2.0 1.6.0 1.6.0
mixpanel_flutter ^2.13.0 2.13.0 2.13.0
posthog_flutter ^5.36.0 5.43.1 5.43.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mixpanel_flutter_common - 1.0.0 1.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
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