eb_purchase 1.1.2 eb_purchase: ^1.1.2 copied to clipboard
Simplifies in-app purchase management with seamless integration for app stores, support for subscriptions, and secure transaction handling. Ideal for developers implementing reliable and user-friendly [...]
We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/basnetjiten/eb_purchases
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: eb_purchase
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
290 out of 360 API elements (80.6 %) have documentation comments.
Some symbols that are missing documentation: android_purchase_model
, android_purchase_model.AndroidData
, android_purchase_model.AndroidData.AndroidData
, android_purchase_model.AndroidData.AndroidData.fromJson
, android_purchase_model.AndroidData.copyWith
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_storekit/store_kit_wrappers.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_android/in_app_purchase_android.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_storekit/store_kit_wrappers.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_storekit/store_kit_wrappers.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_android/in_app_purchase_android.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:in_app_purchase_storekit/store_kit_wrappers.dart
that declares support for platforms:iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:eb_purchase/eb_purchase.dart
that imports:package:eb_purchase/core/eb_purchase_service.dart
that imports:package:eb_purchase/helpers/device_info_helper.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_linux.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 4 issues. Showing the first 2:
INFO: 'PricingPhaseWrapper.fromJson' is deprecated and shouldn't be used. JSON serialization is not intended for public use, and will be removed in a future version.
lib/core/models/purchase_plan_model.g.dart:27:19
╷
27 │ PricingPhaseWrapper.fromJson(e as Map<String, dynamic>))
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/models/purchase_plan_model.g.dart
/tmp/pana_KAQEAP/lib/core/eb_purchase_service.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dartz |
^0.10.1 |
0.10.1 | 0.10.1 |
device_info_plus |
^10.1.2 |
10.1.2 | 11.2.0 |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
freezed_annotation |
^2.4.4 |
2.4.4 | 2.4.4 |
in_app_purchase |
^3.2.0 |
3.2.0 | 3.2.0 |
in_app_purchase_android |
^0.3.6+12 |
0.3.6+12 | 0.3.6+12 |
in_app_purchase_storekit |
^0.3.20+2 |
0.3.20+2 | 0.3.20+2 |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 |
package_info_plus |
^8.0.1 |
8.1.2 | 8.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
in_app_purchase_platform_interface |
- | 1.4.0 | 1.4.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus_platform_interface |
- | 3.0.2 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
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.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
win32_registry |
- | 1.1.5 | 2.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^10.1.2` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.