hy_firebase_analytics 3.0.2 copy "hy_firebase_analytics: ^3.0.2" to clipboard
hy_firebase_analytics: ^3.0.2 copied to clipboard

firebase analysis implementation of the hy analytics interface.

45/ 160
pub points
70
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis http://a.gitlab.local:10080/flutter/hy was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("3.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

4 out of 21 API elements (19.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: hy_firebase_analytics, hy_firebase_analytics.AppFirebaseAnalytics, hy_firebase_analytics.AppFirebaseAnalytics.AppFirebaseAnalytics.new, hy_firebase_analytics.AppFirebaseAnalytics.logEvent, hy_firebase_analytics.AppFirebaseAnalytics.logJoinGroup.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:hy_firebase_analytics/hy_firebase_analytics.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:hy_firebase_analytics/hy_firebase_analytics.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that declares support for platforms: Android, iOS, 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 4 issues. Showing the first 2:

ERROR: The argument type 'Map

lib/hy_firebase_analytics.dart:18:59

   ╷
18 │       _firebaseAnalytics.logEvent(name: name, parameters: parameters);
   │                                                           ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/hy_firebase_analytics.dart

ERROR: The method 'logEcommercePurchase' isn't defined for the type 'FirebaseAnalytics'.

lib/hy_firebase_analytics.dart:26:26

   ╷
26 │       _firebaseAnalytics.logEcommercePurchase(currency: currency, value: value, transactionId: transactionId);
   │                          ^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/hy_firebase_analytics.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
firebase_analytics ^11.3.3 11.6.0 12.0.3
hy_analytics ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.59 1.3.63
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 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_analytics_platform_interface - 4.4.3 5.0.3
firebase_analytics_web - 0.5.10+16 0.6.0+3
firebase_core - 3.15.2 4.2.0
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 2.24.1 3.2.0
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.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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.6 0.7.7
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^11.3.3` on firebase_analytics does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions firebase_analytics to update the constraint.

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 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/hy_firebase_analytics.dart:18:59 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, Object>?'.
  • UNDEFINED_METHOD - lib/hy_firebase_analytics.dart:26:26 - The method 'logEcommercePurchase' isn't defined for the type 'FirebaseAnalytics'.
  • UNDEFINED_METHOD - lib/hy_firebase_analytics.dart:30:26 - The method 'logPurchaseRefund' isn't defined for the type 'FirebaseAnalytics'.

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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
45
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

firebase analysis implementation of the hy analytics interface.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

firebase_analytics, flutter, hy_analytics

More

Packages that depend on hy_firebase_analytics