posthog_flutter 6.0.2
posthog_flutter: ^6.0.2 copied to clipboard
Flutter implementation of PostHog client for iOS, Android, macOS, Windows, Linux and Web
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
252 out of 292 API elements (86.3 %) have documentation comments.
Some symbols that are missing documentation: posthog_flutter_dart, posthog_flutter_web, posthog_flutter_web.PosthogFlutterWeb.addExceptionStep, posthog_flutter_web.PosthogFlutterWeb.alias, posthog_flutter_web.PosthogFlutterWeb.capture.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ 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:posthog_flutter/posthog_flutter.dartthat imports:package:posthog_flutter/src/error_tracking/posthog_isolate_extension.dartthat imports:dart:isolate
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:posthog_flutter/posthog_flutter.dartthat imports:package:posthog_flutter/src/error_tracking/posthog_isolate_extension.dartthat imports:dart:isolate
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 32 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/posthog_widget.dart:4:1
╷
4 │ import 'package:flutter/material.dart' hide ImageInfo;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/posthog_widget.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/replay/element_parsers/element_data.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/replay/element_parsers/element_data.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
^1.3.0 |
1.19.0 | 1.19.0 | |
path_provider_linux |
^2.2.1 |
2.2.2 | 2.2.2 | |
path_provider_platform_interface |
^2.1.2 |
2.1.3 | 2.1.3 | |
path_provider_windows |
^2.3.0 |
2.3.0 | 2.3.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
stack_trace |
^1.12.0 |
1.12.2 | 1.12.2 | |
web |
^1.1.0 |
1.1.2 | 1.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.2.0 | 3.2.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.50.0, Dart 3.14.0.
Check the analysis log for details.