firebase_analytics 12.4.4
firebase_analytics: ^12.4.4 copied to clipboard
Flutter plugin for Google Analytics for Firebase, an app measurement solution that provides insight on app usage and user engagement on Android and iOS.
We analyzed this package 2 days ago, and awarded it 70 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
92 out of 104 API elements (88.5 %) have documentation comments.
Some symbols that are missing documentation: firebase_analytics, firebase_analytics.AnalyticsCallOptions.AnalyticsCallOptions.new, firebase_analytics.AnalyticsEventItem.AnalyticsEventItem.new, firebase_analytics.FirebaseAnalytics.isSupported, firebase_analytics.FirebaseAnalytics.webOptions.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Classes can only extend other classes.
lib/src/firebase_analytics.dart:8:33
╷
8 │ class FirebaseAnalytics extends FirebasePlugin {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_analytics.dart
ERROR: Too many positional arguments: 0 expected, but 2 found.
lib/src/firebase_analytics.dart:12:14
╷
12 │ }) : super(app.name, 'plugins.flutter.io/firebase_analytics');
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_analytics.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_analytics_platform_interface |
^6.0.4 |
6.0.4 | 6.0.5 | |
firebase_analytics_web |
^0.6.1+10 |
0.6.1+10 | 0.6.1+11 | |
firebase_core |
^4.12.0 |
4.12.0 | 4.12.1 | |
firebase_core_platform_interface |
^7.1.0 |
7.1.0 | 8.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.74 | 1.3.75 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core_web |
- | 3.9.0 | 3.9.1 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.19 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.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.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.11 | 0.7.13 | |
vector_math |
- | 2.2.0 | 2.4.2 | |
vm_service |
- | 15.2.0 | 15.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^7.1.0` on firebase_core_platform_interface does not support the stable version `8.0.0`, that was published 17 days ago.
When firebase_core_platform_interface is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions firebase_core_platform_interface to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
EXTENDS_NON_CLASS-lib/src/firebase_analytics.dart:8:33- Classes can only extend other classes.EXTRA_POSITIONAL_ARGUMENTS-lib/src/firebase_analytics.dart:12:14- Too many positional arguments: 0 expected, but 2 found.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.15, Flutter 3.44.7, Dart 3.12.2.
Check the analysis log for details.