rdev_riverpod_firebase_analytics 0.4.2 copy "rdev_riverpod_firebase_analytics: ^0.4.2" to clipboard
rdev_riverpod_firebase_analytics: ^0.4.2 copied to clipboard

This package provides a simple way to use Firebase User with Riverpod.

90/ 160
pub points
30
downloads

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

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

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

Repository URL doesn't exist.

At the time of the analysis https://github.com/r-dev-limited/placebo-life was unreachable. Make sure that the website is reachable via HEAD requests.

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
0 / 20trigger folding of the section

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

8 out of 49 API elements (16.3 %) 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: analytics_data_source, analytics_data_source.AnalyticsDataSource.AnalyticsDataSource.new, analytics_data_source.AnalyticsDataSource.analytics, analytics_data_source.AnalyticsDataSource.event, analytics_data_source.AnalyticsDataSource.initializeFirebaseAnalytics.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:rdev_riverpod_firebase_analytics/application/analytics_data_source.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:rdev_riverpod_firebase_analytics/application/analytics_data_source.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that declares support for platforms: Android, iOS, macOS, Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

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

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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/application/analytics_data_source.dart:134:7

    ╷
134 │       return event.log();
    │       ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/application/analytics_data_source.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
equatable ^2.0.7 2.1.0 2.1.0
firebase_analytics 12.1.3 12.1.3 12.6.0
hooks_riverpod ^3.1.0 3.4.3 3.4.3
json_annotation ^4.9.0 4.12.0 4.12.0
logging ^1.3.0 1.3.0 1.3.0
rdev_errors_logging any 0.3.0 0.3.0
rdev_helpers any 0.3.1 0.3.1
rdev_riverpod_firebase any 0.5.2 0.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_discoveryapis_commons - 1.0.8 1.0.8
_flutterfire_internals - 1.3.67 1.3.77
ansicolor - 2.0.3 2.0.3
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
cloud_firestore - 6.1.3 6.10.0
cloud_firestore_platform_interface - 7.0.7 8.0.7
cloud_firestore_web - 5.1.3 5.7.3
cloud_functions - 6.0.7 6.5.0
cloud_functions_platform_interface - 5.8.10 6.0.7
cloud_functions_web - 5.1.3 5.1.13
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
connectivity_plus - 7.3.1 7.3.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
crypto - 3.0.7 3.0.7
dbus - 0.7.15 0.7.15
facebook_auth_desktop - 2.1.3 2.1.3
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
firebase_analytics_platform_interface - 5.0.7 6.0.7
firebase_analytics_web - 0.6.1+3 0.6.1+13
firebase_auth - 6.2.0 6.7.0
firebase_auth_platform_interface - 8.1.7 9.1.0
firebase_auth_web - 6.1.3 6.3.0
firebase_core - 4.5.0 4.15.0
firebase_core_platform_interface - 6.0.3 8.1.1
firebase_core_web - 3.6.0 3.12.0
firebase_messaging - 16.1.2 16.7.0
firebase_messaging_platform_interface - 4.7.7 4.10.0
firebase_messaging_web - 4.1.3 4.2.5
firebase_storage - 13.1.0 13.6.0
firebase_storage_platform_interface - 5.2.18 6.0.7
firebase_storage_web - 3.11.3 3.11.13
fixnum - 1.1.1 1.1.1
flutter_facebook_auth - 7.2.0 7.2.0
flutter_facebook_auth_platform_interface - 6.1.2 6.1.2
flutter_facebook_auth_web - 6.1.2 6.1.2
flutter_hooks - 0.21.3+1 0.21.3+1
flutter_riverpod - 3.4.3 3.4.3
flutter_secure_storage - 10.3.4 11.1.1
flutter_secure_storage_darwin - 0.3.2 0.4.2
flutter_secure_storage_linux - 3.0.3 3.0.3
flutter_secure_storage_platform_interface - 2.1.0 2.1.0
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
google_cloud - 0.5.0 0.5.0
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in - 7.2.0 7.2.0
google_sign_in_android - 7.2.17 7.2.17
google_sign_in_ios - 6.3.3 6.3.3
google_sign_in_platform_interface - 3.1.0 3.1.0
google_sign_in_web - 1.1.3 1.1.3
googleapis - 15.0.0 17.0.0
googleapis_auth - 2.3.3 2.3.3
hooks - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.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
listen - 1.0.1 1.0.1
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nm - 0.5.0 0.5.0
objective_c - 9.6.0 9.6.0
overlay_support - 2.1.0 2.1.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
riverpod - 3.4.3 3.4.3
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
state_notifier - 1.0.0 1.0.0
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
talker - 5.1.20 5.1.20
talker_logger - 5.1.20 5.1.20
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.14
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
uuid - 4.6.0 4.6.0
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
web - 1.1.1 1.1.1
win32 - 6.4.0 6.4.0
xdg_directories - 1.1.0 1.1.0
xml - 7.0.1 7.0.1
yaml - 3.1.4 3.1.4

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

The constraint `12.1.3` on firebase_analytics does not support the stable version `12.2.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:

  • UNDEFINED_METHOD - lib/application/analytics_data_source.dart:66:19 - The method 'toRdevException' isn't defined for the type 'PlatformException'.
  • UNDEFINED_METHOD - lib/application/analytics_data_source.dart:86:19 - The method 'toRdevException' isn't defined for the type 'PlatformException'.

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.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
30
downloads

Documentation

API reference

Publisher

verified publisherrdev.co.nz

Weekly Downloads

This package provides a simple way to use Firebase User with Riverpod.

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

equatable, firebase_analytics, flutter, hooks_riverpod, json_annotation, logging, rdev_errors_logging, rdev_helpers, rdev_riverpod_firebase

More

Packages that depend on rdev_riverpod_firebase_analytics