rdev_riverpod_firebase_user 0.5.4
rdev_riverpod_firebase_user: ^0.5.4 copied to clipboard
This package provides a simple way to use Firebase User with Riverpod.
We analyzed this package 24 hours ago, and awarded it 120 pub points (of a possible 160):
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.
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
51 out of 170 API elements (30.0 %) have documentation comments.
Some symbols that are missing documentation: user_avatar
, user_avatar.UserAvatar
, user_avatar.UserAvatar.UserAvatar.new
, user_avatar.UserAvatar.textStyle
, user_avatar.UserAvatar.userImageUrl
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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_user/application/user_data_service.dart
that imports:package:rdev_riverpod_firebase/firestore_helpers.dart
that imports:package:cloud_functions/cloud_functions.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:rdev_riverpod_firebase_user/application/user_data_service.dart
that imports:package:rdev_riverpod_firebase_user/domain/user_model.dart
that imports:package:cloud_firestore/cloud_firestore.dart
that declares support for platforms:Android
,iOS
,Windows
,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_user/application/user_data_service.dart
that imports:package:rdev_riverpod_firebase/firebase_providers.dart
that imports:package:firebase_storage/firebase_storage.dart
that imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart
that imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:rdev_riverpod_firebase_user/application/user_data_service.dart
that imports:package:rdev_riverpod_firebase/firebase_providers.dart
that imports:package:firebase_storage/firebase_storage.dart
that imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart
that imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'UserModel', which is not a subtype of 'Future'.
lib/application/user_data_service.dart:74:23
╷
74 │ final model = await UserModel.fromDocumentSnapshot(snapshot);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/user_data_service.dart
INFO: Uses 'await' on an instance of 'UserModel', which is not a subtype of 'Future'.
lib/application/user_data_service.dart:105:22
╷
105 │ final user = await UserModel.fromDocumentSnapshot(event);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/user_data_service.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cloud_firestore |
5.6.9 |
5.6.9 | 5.6.11 | |
cloud_functions |
5.5.2 |
5.5.2 | 5.6.1 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
hooks_riverpod |
^2.6.1 |
2.6.1 | 2.6.1 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
rdev_errors_logging |
any |
0.2.1+1 | 0.2.1+1 | |
rdev_helpers |
any |
0.2.1+1 | 0.2.1+1 | |
rdev_riverpod_firebase |
^0.4.4 |
0.4.4 | 0.4.4 | |
talker |
^4.7.1 |
4.9.1 | 4.9.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `5.6.9` on cloud_firestore does not support the stable version `5.6.10`, that was published 2 days ago.
When cloud_firestore is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cloud_firestore
to update the constraint.
The constraint `5.5.2` on cloud_functions does not support the stable version `5.6.0`, that was published 2 days ago.
When cloud_functions is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cloud_functions
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 4 errors:
URI_DOES_NOT_EXIST
-lib/application/user_data_service.dart:8:8
- Target of URI doesn't exist: 'package:rdev_errors_logging/talker_provider.dart'.UNDEFINED_IDENTIFIER
-lib/application/user_data_service.dart:236:17
- Undefined name 'appTalkerProvider'.URI_DOES_NOT_EXIST
-lib/data/user_repository.dart:8:8
- Target of URI doesn't exist: 'package:rdev_errors_logging/talker_provider.dart'.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.