firebase_analytics_platform_interface 1.1.0 copy "firebase_analytics_platform_interface: ^1.1.0" to clipboard
firebase_analytics_platform_interface: ^1.1.0 copied to clipboard

unlistedoutdated

A common platform interface for the firebase_analytics plugin.

70/ 160
pub points
1.89M
downloads

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

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

Failed check 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.

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.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 14 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

Failed report section
Support up-to-date dependencies
20 / 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
meta ^1.3.0 1.16.0 1.17.0
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.

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

Failed check 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.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
1.89M
downloads

Publisher

verified publisherfirebase.google.com

Weekly Downloads

A common platform interface for the firebase_analytics plugin.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, meta

More

Packages that depend on firebase_analytics_platform_interface