rdev_riverpod_firebase_auth 0.2.7 copy "rdev_riverpod_firebase_auth: ^0.2.7" to clipboard
rdev_riverpod_firebase_auth: ^0.2.7 copied to clipboard

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

110/ 160
pub points
330
downloads

We analyzed this package 6 hours ago, and awarded it 110 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
10 / 20trigger folding of the section

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

72 out of 147 API elements (49.0 %) have documentation comments.

Some symbols that are missing documentation: auth_additional_user_info_vo, auth_additional_user_info_vo.AuthAdditionalUserInfoVO, auth_additional_user_info_vo.AuthAdditionalUserInfoVO.AuthAdditionalUserInfoVO.fromAuthAdditionalUserInfo, auth_additional_user_info_vo.AuthAdditionalUserInfoVO.AuthAdditionalUserInfoVO.new, auth_additional_user_info_vo.AuthAdditionalUserInfoVO.authorizationCode.

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:rdev_riverpod_firebase_auth/application/auth_data_service.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:rdev_riverpod_firebase_auth/application/auth_data_service.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:rdev_riverpod_firebase_auth/application/auth_data_service.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple/src/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dart that imports:
  • package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rdev_riverpod_firebase_auth/application/auth_data_service.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple/src/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dart that imports:
  • package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: 'fetchSignInMethodsForEmail' is deprecated and shouldn't be used. fetchSignInMethodsForEmail() has been deprecated. Migrating off of this method is recommended as a security best-practice. Learn more in the Identity Platform documentation: https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection.

lib/application/auth_data_service.dart:419:37

    ╷
419 │       final providers = await _auth.fetchSignInMethodsForEmail(email);
    │                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'logTyped' is deprecated and shouldn't be used. Use logCustom instead. This feature was deprecated after v4.5.0.

lib/data/auth_repository.dart:69:10

   ╷
69 │     _log.logTyped(AuthRepositoryLog('build()'));
   │          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/auth_repository.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
cloud_functions 5.5.2 5.5.2 6.0.2
crypto ^3.0.6 3.0.6 3.0.6
equatable ^2.0.7 2.0.7 2.0.7
firebase_auth 5.6.0 5.6.0 6.1.0
flutter_facebook_auth ^7.1.2 7.1.2 7.1.2
flutter_hooks ^0.21.2 0.21.3+1 0.21.3+1
google_sign_in ^6.3.0 6.3.0 7.2.0
hooks_riverpod ^2.6.1 2.6.1 3.0.1
rdev_errors_logging any 0.2.1+1 0.2.1+1
rdev_riverpod_firebase ^0.4.4 0.4.4 0.4.4
sign_in_with_apple ^6.1.1 6.1.4 7.0.1
talker ^4.7.1 4.9.3 5.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_discoveryapis_commons - 1.0.7 1.0.7
_flutterfire_internals - 1.3.56 1.3.62
ansicolor - 2.0.3 2.0.3
args - 2.7.0 2.7.0
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
cloud_firestore - 5.6.9 6.0.2
cloud_firestore_platform_interface - 6.6.9 7.0.2
cloud_firestore_web - 4.4.9 5.0.2
cloud_functions_platform_interface - 5.7.2 5.8.5
cloud_functions_web - 4.11.2 5.0.2
collection - 1.19.1 1.19.1
connectivity_plus - 6.1.5 7.0.0
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
facebook_auth_desktop - 2.1.1 2.1.1
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
firebase_analytics - 11.5.0 12.0.2
firebase_analytics_platform_interface - 4.4.0 5.0.2
firebase_analytics_web - 0.5.10+13 0.6.0+2
firebase_auth_platform_interface - 7.7.0 8.1.2
firebase_auth_web - 5.15.0 6.0.3
firebase_core - 3.14.0 4.1.1
firebase_core_platform_interface - 5.4.2 6.0.1
firebase_core_web - 2.24.0 3.1.1
firebase_messaging - 15.2.7 16.0.2
firebase_messaging_platform_interface - 4.6.7 4.7.2
firebase_messaging_web - 3.10.7 4.0.2
firebase_storage - 12.4.7 13.0.2
firebase_storage_platform_interface - 5.2.7 5.2.13
firebase_storage_web - 3.10.14 3.10.20
flutter_facebook_auth_platform_interface - 6.1.2 6.1.2
flutter_facebook_auth_web - 6.1.2 6.1.2
flutter_riverpod - 2.6.1 3.0.1
flutter_secure_storage - 9.2.4 9.2.4
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.0
google_sign_in_ios - 5.9.0 6.2.1
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.0
googleapis - 14.0.0 15.0.0
googleapis_auth - 2.0.0 2.0.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.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
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 2.6.1 3.0.1
sign_in_with_apple_platform_interface - 1.1.0 2.0.0
sign_in_with_apple_web - 2.1.1 3.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
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_logger - 4.9.3 5.0.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 6 issues. Showing the first 2:

The constraint `5.5.2` on cloud_functions does not support the stable version `5.6.0`.

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

The constraint `5.6.0` on firebase_auth does not support the stable version `5.6.1`.

Try running dart pub upgrade --major-versions firebase_auth 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:

  • URI_DOES_NOT_EXIST - lib/data/auth_repository.dart:5:8 - Target of URI doesn't exist: 'package:rdev_errors_logging/talker_provider.dart'.
  • UNDEFINED_IDENTIFIER - lib/data/auth_repository.dart:68:22 - Undefined name 'appTalkerProvider'.

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: