ds_purchase 0.0.16
ds_purchase: ^0.0.16 copied to clipboard
Purchase SectDev components for Flutter projects (https://sect.dev/). Currently supports Adapty only
We analyzed this package 13 hours ago, and awarded it 80 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
.
10/10 points: 20% or more of the public API has dartdoc comments
37 out of 111 API elements (33.3 %) have documentation comments.
Some symbols that are missing documentation: ds_purchase
, ds_purchase.AdaptyProductExt
, ds_purchase.AdaptyProductExt.toAppProduct
, ds_purchase.AdaptySubscriptionPeriodExt
, ds_purchase.AdaptySubscriptionPeriodExt.toAppPeriod
.
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_manager.dart
that imports:package:ds_common/core/ds_referrer.dart
that imports:package:ds_common/core/ds_remote_config.dart
that imports:package:ds_common/core/ds_metrica.dart
that imports:package:ds_common/core/ds_constants.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:ds_purchase/ds_purchase.dart
that imports:package:ds_purchase/src/ds_purchase_manager.dart
that imports:package:ds_common/core/ds_referrer.dart
that imports:package:ds_common/core/ds_remote_config.dart
that imports:package:ds_common/core/ds_metrica.dart
that imports:package:ds_common/core/ds_constants.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The method 'getBool' isn't defined for the type '_Internal'.
lib/src/ds_prefs_part.dart:5:18
╷
5 │ ? internal.getBool('premium_debug_purchased') ?? false
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_prefs_part.dart
ERROR: The method 'setBool' isn't defined for the type '_Internal'.
lib/src/ds_prefs_part.dart:7:51
╷
7 │ void _setDebugPurchased(bool value) => internal.setBool('premium_debug_purchased', value);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_prefs_part.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adapty_flutter |
^2.9.3 |
2.10.6 | 3.11.2 | |
ds_ads |
>=0.7.0 <0.9.0 |
0.8.5 | 1.5.0 | |
ds_common |
^0.1.39 |
0.1.39 | 2.7.6 | |
fimber |
^0.7.0 |
0.7.0 | 0.7.0 | |
firebase_analytics |
>=10.10.0 <12.0.0 |
11.6.0 | 12.0.3 | |
meta |
^1.0.0 |
1.16.0 | 1.17.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^2.9.3` on adapty_flutter does not support the stable version `3.2.0`.
Try running dart pub upgrade --major-versions adapty_flutter
to update the constraint.
The constraint `>=0.7.0 <0.9.0` on ds_ads does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions ds_ads
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:
UNDEFINED_METHOD
-lib/src/ds_prefs_part.dart:5:18
- The method 'getBool' isn't defined for the type '_Internal'.UNDEFINED_METHOD
-lib/src/ds_prefs_part.dart:7:51
- The method 'setBool' isn't defined for the type '_Internal'.UNDEFINED_METHOD
-lib/src/ds_prefs_part.dart:9:37
- The method 'getBool' isn't defined for the type '_Internal'.
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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.