ds_purchase 0.0.16 copy "ds_purchase: ^0.0.16" to clipboard
ds_purchase: ^0.0.16 copied to clipboard

Purchase SectDev components for Flutter projects (https://sect.dev/). Currently supports Adapty only

80/ 160
pub points
629
downloads

We analyzed this package 13 hours ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.59 1.3.63
adjust_sdk - 5.4.4 5.4.4
applovin_max - 3.10.1 4.5.2
appmetrica_plugin - 2.1.1 3.3.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
cloud_firestore - 5.6.12 6.0.3
cloud_firestore_platform_interface - 6.6.12 7.0.3
cloud_firestore_web - 4.4.12 5.0.3
cloud_functions - 5.6.2 6.0.3
cloud_functions_platform_interface - 5.8.2 5.8.6
cloud_functions_web - 4.11.5 5.0.3
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
decimal - 2.3.3 3.2.4
device_info - 2.0.2 2.0.3 Discontinued
device_info_platform_interface - 2.0.1 2.0.1
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
firebase_analytics_platform_interface - 4.4.3 5.0.3
firebase_analytics_web - 0.5.10+16 0.6.0+3
firebase_app_installations - 0.3.3 0.4.0+3
firebase_app_installations_platform_interface - 0.1.4+58 0.1.4+62
firebase_app_installations_web - 0.1.6+16 0.1.6+20
firebase_core - 3.15.2 4.2.0
firebase_core_platform_interface - 6.0.2 6.0.2
firebase_core_web - 2.24.1 3.2.0
firebase_crashlytics - 4.3.10 5.0.3
firebase_crashlytics_platform_interface - 3.8.10 3.8.14
firebase_remote_config - 5.5.0 6.1.0
firebase_remote_config_platform_interface - 2.0.0 2.0.4
firebase_remote_config_web - 1.8.9 1.9.0
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 3.1.0
google_mobile_ads - 5.3.1 6.0.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
package_info_plus - 4.2.0 9.0.0
package_info_plus_platform_interface - 2.0.1 3.2.1
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.3 2.2.3
sentry - 8.14.2 9.7.0
sentry_flutter - 8.14.2 9.7.0
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
userx_flutter - 1.3.15 1.3.15
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
visibility_detector - 0.4.0+2 0.4.0+2
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
webview_flutter - 4.13.0 4.13.0
webview_flutter_android - 4.10.5 4.10.5
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.23.1 3.23.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
3
likes
80
points
629
downloads

Publisher

verified publisheraltush.pro

Weekly Downloads

Purchase SectDev components for Flutter projects (https://sect.dev/). Currently supports Adapty only

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

adapty_flutter, ds_ads, ds_common, fimber, firebase_analytics, flutter, meta

More

Packages that depend on ds_purchase

Packages that implement ds_purchase