purchases 0.0.2
purchases: ^0.0.2 copied to clipboard
Revenuecat purchases cross platform
We analyzed this package 2 days ago, and awarded it 65 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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
167 out of 221 API elements (75.6 %) have documentation comments.
Some symbols that are missing documentation: purchaser_info, purchaser_info.PurchaserInfo.PurchaserInfo.empty, purchaser_info.PurchaserInfo.PurchaserInfo.fromJson, purchases, purchases.Discount.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The class 'PurchaserInfo' can't extend 'PurchaserInfo' because 'PurchaserInfo' only has factory constructors (no generative constructors), and 'PurchaserInfo' has at least one generative constructor.
lib/models/purchaser_info.dart:4:29
╷
4 │ class PurchaserInfo extends rc.PurchaserInfo {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/purchaser_info.dart
ERROR: The argument type 'Map
lib/models/purchaser_info.dart:38:63
╷
38 │ PurchaserInfo._(Map<dynamic, dynamic> map) : super.fromJson(map);
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/purchaser_info.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^0.13.1 |
0.13.6 | 1.6.0 | |
purchases_flutter |
^3.2.1 |
3.10.1 | 9.12.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
freezed_annotation |
- | 1.1.0 | 3.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.1` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^3.2.1` on purchases_flutter does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions purchases_flutter 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.