eggnstone_google_analytics 2.0.1 copy "eggnstone_google_analytics: ^2.0.1" to clipboard
eggnstone_google_analytics: ^2.0.1 copied to clipboard

outdated

A wrapper for Google Analytics. Allows to report via Firebase.

80/ 160
pub points
48
downloads

We analyzed this package 14 days ago, and awarded it 80 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

38 out of 59 API elements (64.4 %) have documentation comments.

Some symbols that are missing documentation: GoogleAnalyticsNonWebService, GoogleAnalyticsNonWebService.GoogleAnalyticsService, GoogleAnalyticsNonWebService.GoogleAnalyticsService.EVENT_NAME__TUTORIAL_BEGIN, GoogleAnalyticsNonWebService.GoogleAnalyticsService.EVENT_NAME__TUTORIAL_COMPLETE, GoogleAnalyticsNonWebService.GoogleAnalyticsService.MAX_EVENT_NAME_LENGTH.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

ERROR: The argument type 'Map

lib/google/GoogleAnalyticsNonWebService.dart:107:65

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

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

ERROR: The argument type 'Map

lib/google/GoogleAnalyticsWebService.dart:116:65

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

To reproduce make sure you are using the lints_core and run flutter analyze lib/google/GoogleAnalyticsWebService.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
eggnstone_flutter ^2.0.0 2.0.0 4.3.9
firebase_analytics ^7.1.1 7.1.1 12.1.0
firebase_analytics_web ^0.2.0+1 0.2.0+1 0.6.1+1
get_it ^6.0.0 6.1.1 9.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
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
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
firebase - 9.0.3 9.0.3 Discontinued
firebase_analytics_platform_interface - 1.1.0 5.0.5
firebase_core - 1.24.0 4.3.0
firebase_core_platform_interface - 4.8.0 6.0.2
firebase_core_web - 1.7.3 3.3.1
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.17.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
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.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
package_info_plus - 1.4.3+1 9.0.0
package_info_plus_linux - 1.0.5 2.0.0 Discontinued
package_info_plus_macos - 1.3.0 2.0.0 Discontinued
package_info_plus_platform_interface - 1.0.2 3.2.1
package_info_plus_web - 1.0.6 2.0.0 Discontinued
package_info_plus_windows - 2.1.0 3.0.0 Discontinued
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.5.4 2.5.4
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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.7 0.7.8
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
win32 - 3.1.4 5.15.0
xdg_directories - 1.1.0 1.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^2.0.0` on eggnstone_flutter does not support the stable version `3.0.0`.

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

The constraint `^7.1.1` on firebase_analytics does not support the stable version `8.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 2 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/google/GoogleAnalyticsNonWebService.dart:107:65 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/google/GoogleAnalyticsWebService.dart:116:65 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, dynamic>'.

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
80
points
48
downloads

Publisher

verified publishereggnstone.dev

Weekly Downloads

A wrapper for Google Analytics. Allows to report via Firebase.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

eggnstone_flutter, firebase_analytics, firebase_analytics_web, flutter, get_it

More

Packages that depend on eggnstone_google_analytics