rdev_riverpod_firebase_user_notification 0.2.12
rdev_riverpod_firebase_user_notification: ^0.2.12 copied to clipboard
This package provides a simple way to use Firebase User with Riverpod.
We analyzed this package 6 days 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.
0/10 points: 20% or more of the public API has dartdoc comments
18 out of 91 API elements (19.8 %) 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: user_notification_model, user_notification_model.ChannelData, user_notification_model.ChannelData.ChannelData.fromJson, user_notification_model.ChannelData.ChannelData.new, user_notification_model.ChannelData.copyWith.
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_notification/application/user_notifications_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:rdev_riverpod_firebase_user_notification/application/user_notifications_data_service.dartthat imports:package:rdev_riverpod_firebase_user_notification/domain/user_notification_model.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat 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_notification/application/user_notifications_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:rdev_riverpod_firebase_user_notification/application/user_notifications_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'UserNotificationModel', which is not a subtype of 'Future'.
lib/application/user_notifications_data_service.dart:53:22
╷
53 │ final user = await UserNotificationModel.fromDocumentSnapshot(e);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/user_notifications_data_service.dart
INFO: Missing type annotation.
lib/domain/user_notification_model.dart:30:3
╷
30 │ copyWith({
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/domain/user_notification_model.dart
0/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 | 6.1.1 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
hooks_riverpod |
^2.6.1 |
2.6.1 | 3.1.0 | |
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.3 | 5.1.9 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `5.6.9` on cloud_firestore does not support the stable version `5.6.10`.
Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.
The constraint `^2.6.1` on hooks_riverpod does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions hooks_riverpod to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.