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 6 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: firebase_analytics_platform_interface
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
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
.
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 20 API elements (90.0 %) have documentation comments.
Some symbols that are missing documentation: firebase_analytics_platform_interface
, method_channel_firebase_analytics
.
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/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 28 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: The body might complete normally, causing 'null' to be returned, but the return type, 'Future
lib/firebase_analytics_platform_interface.dart:64:16
╷
64 │ Future<void> logEvent({
│ ^^^^^^^^
╵
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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
meta |
^1.3.0 |
1.15.0 | 1.16.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
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 28 errors:
ILLEGAL_LANGUAGE_VERSION_OVERRIDE
-lib/firebase_analytics_platform_interface.dart:5:1
- The language version must be >=2.12.0.BODY_MIGHT_COMPLETE_NORMALLY
-lib/firebase_analytics_platform_interface.dart:64:16
- The body might complete normally, causing 'null' to be returned, but the return type, 'FutureMISSING_DEFAULT_VALUE_FOR_PARAMETER
-lib/firebase_analytics_platform_interface.dart:65:22
- With null safety, use the 'required' keyword, not the '@required' annotation.
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.