firebase_analytics_platform_interface 1.1.0
firebase_analytics_platform_interface: ^1.1.0 copied to clipboard
A common platform interface for the firebase_analytics plugin.
We analyzed this package 19 hours ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
packages/firebase_analytics/firebase_analytics_platform_interface/pubspec.yaml from the repository URL mismatch: expected https://github.com/FirebaseExtended/flutterfire but got https://github.com/firebase/flutterfire.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: firebase_analytics_platform_interface, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
18 out of 22 API elements (81.8 %) have documentation comments.
Some symbols that are missing documentation: firebase_analytics_platform_interface, firebase_analytics_platform_interface.FirebaseAnalyticsPlatform.FirebaseAnalyticsPlatform.new, method_channel_firebase_analytics, method_channel_firebase_analytics.MethodChannelFirebaseAnalytics.MethodChannelFirebaseAnalytics.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
ERROR: The language version must be >=2.12.0.
lib/firebase_analytics_platform_interface.dart:5:1
╷
5 │ // @dart=2.9
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_analytics_platform_interface.dart
ERROR: With null safety, use the 'required' keyword, not the '@required' annotation.
lib/firebase_analytics_platform_interface.dart:65:22
╷
65 │ @required String name,
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_analytics_platform_interface.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.17.0 | 1.18.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
vector_math |
- | 2.2.0 | 2.2.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 14 errors:
ILLEGAL_LANGUAGE_VERSION_OVERRIDE-lib/firebase_analytics_platform_interface.dart:5:1- The language version must be >=2.12.0.MISSING_DEFAULT_VALUE_FOR_PARAMETER-lib/firebase_analytics_platform_interface.dart:65:22- With null safety, use the 'required' keyword, not the '@required' annotation.MISSING_DEFAULT_VALUE_FOR_PARAMETER-lib/firebase_analytics_platform_interface.dart:66:26- The parameter 'parameters' can't have a value of 'null' because of its type, but the implicit default value is 'null'.
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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.