rdev_riverpod_purchases 0.2.3
rdev_riverpod_purchases: ^0.2.3 copied to clipboard
Manage purchases
We analyzed this package 44 hours ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
36 out of 120 API elements (30.0 %) have documentation comments.
Some symbols that are missing documentation: in_app_product_data_service, in_app_product_data_service.InAppProductDataService, in_app_product_data_service.InAppProductDataService.InAppProductDataService.new, in_app_product_data_service.InAppProductDataService.getInAppProduct, in_app_product_data_service.InAppProductDataService.getInAppProducts.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:rdev_riverpod_purchases/application/in_app_product_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_purchases/application/in_app_product_data_service.dartthat imports:package:rdev_riverpod_purchases/domain/in_app_product_model.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:rdev_riverpod_purchases/application/in_app_product_data_service.dartthat imports:package:flutter_inapp_purchase/flutter_inapp_purchase.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:rdev_riverpod_purchases/application/in_app_product_data_service.dartthat imports:package:flutter_inapp_purchase/flutter_inapp_purchase.dartthat declares support for platforms:Android,iOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The value of the field '_log' isn't used.
lib/application/in_app_product_service.dart:47:16
╷
47 │ final Talker _log;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/in_app_product_service.dart
WARNING: The value of the field '_errorStreamSubscription' isn't used.
lib/data/in_app_products_repository.dart:39:23
╷
39 │ StreamSubscription? _errorStreamSubscription;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/in_app_products_repository.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
5.6.8 |
5.6.8 | 6.1.1 | |
cloud_functions |
5.5.1 |
5.5.1 | 6.0.5 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
flutter_inapp_purchase |
^5.6.2 |
5.6.2 | 8.2.0 | |
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.3 |
0.4.3 | 0.4.4 | |
talker |
^4.7.1 |
4.9.3 | 5.1.9 | |
universal_platform |
^1.1.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `5.6.8` on cloud_firestore does not support the stable version `5.6.9`.
Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.
The constraint `5.5.1` on cloud_functions does not support the stable version `5.5.2`.
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/in_app_product_data_service.dart:7:8- Target of URI doesn't exist: 'package:rdev_errors_logging/talker_provider.dart'.UNDEFINED_IDENTIFIER-lib/application/in_app_product_data_service.dart:241:17- Undefined name 'appTalkerProvider'.URI_DOES_NOT_EXIST-lib/application/in_app_product_service.dart:6: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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.