purchase_service 1.0.1 copy "purchase_service: ^1.0.1" to clipboard
purchase_service: ^1.0.1 copied to clipboard

A comprehensive Flutter package for handling RevenueCat in-app purchases and subscriptions with real-time status tracking and paywall integration.

140/ 160
pub points
56
downloads

We analyzed this package 11 hours ago, and awarded it 140 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: 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

51 out of 58 API elements (87.9 %) have documentation comments.

Some symbols that are missing documentation: purchase_service, purchase_service.CustomerInfo.CustomerInfo.fromJson, purchase_service.CustomerInfo.CustomerInfo.new, purchase_service.EntitlementInfo.EntitlementInfo.fromJson, purchase_service.EntitlementInfo.EntitlementInfo.new.

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:purchase_service/purchase_service.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:purchase_service/purchase_service.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:purchase_service/purchase_service.dart that imports:
  • package:purchases_ui_flutter/purchases_ui_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:purchase_service/purchase_service.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:purchase_service/purchase_service.dart that imports:
  • package:purchases_ui_flutter/purchases_ui_flutter.dart that imports:
  • package:purchases_ui_flutter/views/paywall_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.

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

/tmp/pana_QVDPWK/lib/purchases_service_package.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
purchases_flutter ^8.9.0 8.11.0 9.7.0
purchases_ui_flutter ^8.9.0 8.11.0 9.7.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
freezed_annotation - 2.4.4 3.1.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0

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

The constraint `^8.9.0` on purchases_flutter does not support the stable version `9.0.0`.

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

The constraint `^8.9.0` on purchases_ui_flutter does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions purchases_ui_flutter 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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
56
downloads

Publisher

verified publisherstudentmitra.in

Weekly Downloads

A comprehensive Flutter package for handling RevenueCat in-app purchases and subscriptions with real-time status tracking and paywall integration.

Repository (GitHub)
View/report issues

Topics

#in-app-purchase #revenue-cat #subscriptions #flutter #monetization

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, purchases_flutter, purchases_ui_flutter

More

Packages that depend on purchase_service