eb_purchase 1.1.2 copy "eb_purchase: ^1.1.2" to clipboard
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 [...]

110/ 160
pub points
66
downloads

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

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

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

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: MIT.

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

290 out of 366 API elements (79.2 %) have documentation comments.

Some symbols that are missing documentation: android_purchase_model, android_purchase_model.AndroidData, android_purchase_model.AndroidData.AndroidData.fromJson, android_purchase_model.AndroidData.AndroidData.new, android_purchase_model.AndroidData.copyWith.

Passed check 10/10 points: Package has an example

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

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

Failed check 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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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_XHAAVN/lib/core/eb_purchase_service.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 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
dartz ^0.10.1 0.10.1 0.10.1
device_info_plus ^10.1.2 10.1.2 12.2.0
equatable ^2.0.5 2.0.7 2.0.7
freezed_annotation ^2.4.4 2.4.4 3.1.0
in_app_purchase ^3.2.0 3.2.0 3.2.3
in_app_purchase_android ^0.3.6+12 0.3.6+13 0.4.0+6
in_app_purchase_storekit ^0.3.20+2 0.3.22+1 0.4.6
json_annotation ^4.9.0 4.9.0 4.9.0
package_info_plus ^8.0.1 8.3.1 9.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
in_app_purchase_platform_interface - 1.4.0 1.4.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
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.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 1.1.5 2.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

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.

The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

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:
0
likes
110
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

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 monetization solutions in Flutter applications.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

dartz, device_info_plus, equatable, flutter, freezed_annotation, in_app_purchase, in_app_purchase_android, in_app_purchase_storekit, json_annotation, package_info_plus

More

Packages that depend on eb_purchase