eggnstone_google_analytics 0.4.2
eggnstone_google_analytics: ^0.4.2 copied to clipboard
A wrapper for Google Analytics. Allows to report via Firebase.
We analyzed this package 14 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
44 out of 60 API elements (73.3 %) have documentation comments.
Some symbols that are missing documentation: GoogleAnalyticsNonWebService, GoogleAnalyticsNonWebService.GoogleAnalyticsService.EVENT_NAME__TUTORIAL_BEGIN, GoogleAnalyticsNonWebService.GoogleAnalyticsService.EVENT_NAME__TUTORIAL_COMPLETE, GoogleAnalyticsNonWebService.GoogleAnalyticsService.MAX_EVENT_NAME_LENGTH, GoogleAnalyticsNonWebService.GoogleAnalyticsService.MAX_PARAM_NAME_LENGTH.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:eggnstone_google_analytics/eggnstone_google_analytics.dartthat imports:package:eggnstone_google_analytics/google/IGoogleAnalyticsService.dartthat imports:package:eggnstone_flutter/eggnstone_flutter.dartthat imports:package:eggnstone_flutter/tools/PackageInfo.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:eggnstone_google_analytics/eggnstone_google_analytics.dartthat imports:package:eggnstone_google_analytics/google/IGoogleAnalyticsService.dartthat imports:package:eggnstone_flutter/eggnstone_flutter.dartthat imports:package:eggnstone_flutter/tools/PackageInfo.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:eggnstone_google_analytics/eggnstone_google_analytics.dartthat imports:package:eggnstone_google_analytics/google/GoogleAnalyticsNonWebService.dartthat imports:package:firebase_analytics/firebase_analytics.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:eggnstone_google_analytics/eggnstone_google_analytics.dartthat imports:package:eggnstone_google_analytics/google/IGoogleAnalyticsService.dartthat imports:package:eggnstone_flutter/eggnstone_flutter.dartthat imports:package:eggnstone_flutter/tools/PackageInfo.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 41 issues. Showing the first 2:
ERROR: The argument type 'Map
lib/google/GoogleAnalyticsNonWebService.dart:112:65
╷
112 │ _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:121:65
╷
121 │ _firebaseAnalytics.logEvent(name: name, parameters: safeParams);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/google/GoogleAnalyticsWebService.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
eggnstone_flutter |
^0.4.0 |
0.4.3 | 4.3.9 | |
firebase_analytics |
^7.1.0 |
7.1.1 | 12.1.0 | |
firebase_analytics_web |
^0.2.0 |
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 |
- | 2.0.2 | 2.0.2 | 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 | |
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 `^0.4.0` on eggnstone_flutter does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions eggnstone_flutter to update the constraint.
The constraint `^7.1.0` 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.
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 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/google/GoogleAnalyticsNonWebService.dart:112: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:121: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.