ds_purchase 2.3.2
ds_purchase: ^2.3.2 copied to clipboard
Purchase components for altush Flutter projects. Currently supports Adapty only
We analyzed this package 19 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
10 out of 191 API elements (5.2 %) 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: ds_purchase
, ds_purchase.DSAdaptyPaywall
, ds_purchase.DSAdaptyPaywall.DSAdaptyPaywall.new
, ds_purchase.DSAdaptyPaywall.adaptyProducts
, ds_purchase.DSAdaptyPaywall.data
.
10/10 points: Package has 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:ds_purchase/ds_purchase.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:ds_purchase/ds_purchase.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:ds_purchase/ds_purchase.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:ds_purchase/ds_purchase.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:ds_purchase/ds_purchase.dart
that imports:package:ds_purchase/src/ds_purchase_types.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:ds_purchase/ds_purchase.dart
that imports:package:ds_purchase/src/ds_purchase_types.dart
that imports:package:in_app_purchase_android/in_app_purchase_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ds_purchase/ds_purchase.dart
that imports:package:ds_purchase/src/ds_purchase_types.dart
that imports:package:adapty_flutter/adapty_flutter.dart
that imports:package:adapty_flutter/src/platform_views/adaptyui_onboarding_platform_view.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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/ds_purchase/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'extraInAppPurchaseCheck' is deprecated and shouldn't be used. Not tested for the last updates.
lib/src/ds_purchase_manager.dart:723:9
╷
723 │ if (extraInAppPurchaseCheck != null) {
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_purchase_manager.dart
INFO: 'extraInAppPurchaseCheck' is deprecated and shouldn't be used. Not tested for the last updates.
lib/src/ds_purchase_manager.dart:724:22
╷
724 │ newVal = await extraInAppPurchaseCheck!(purchases, newVal);
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_purchase_manager.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adapty_flutter |
^3.11.1 |
3.11.2 | 3.11.2 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
ds_common |
^2.7.4 |
2.7.5 | 2.7.5 | |
firebase_analytics |
>=10.10.0 <13.0.0 |
12.0.2 | 12.0.2 | |
in_app_purchase |
^3.2.3 |
3.2.3 | 3.2.3 | |
in_app_purchase_android |
^0.4.0+4 |
0.4.0+4 | 0.4.0+4 | |
in_app_purchase_platform_interface |
^1.4.0 |
1.4.0 | 1.4.0 | |
in_app_purchase_storekit |
^0.4.4+1 |
0.4.6 | 0.4.6 | |
meta |
^1.16.0 |
1.16.0 | 1.17.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.