purchases_ui_flutter 6.30.2 copy "purchases_ui_flutter: ^6.30.2" to clipboard
purchases_ui_flutter: ^6.30.2 copied to clipboard

Flutter plugin that integrates RevenueCat Paywalls. This plugin supports iOS and Android.

34
likes
100/ 160
pub points
96%
popularity

We analyzed this package 6 days ago, and awarded it 100 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/RevenueCat/purchases-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

9 out of 52 API elements (17.3 %) 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: internal_paywall_footer_view, internal_paywall_footer_view.InternalPaywallFooterView, internal_paywall_footer_view.InternalPaywallFooterView.InternalPaywallFooterView, internal_paywall_footer_view.InternalPaywallFooterView.offering, internal_paywall_footer_view.InternalPaywallFooterView.onDismiss.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:purchases_ui_flutter/purchases_ui_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:purchases_ui_flutter/purchases_ui_flutter.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • 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.dev/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/purchases_ui_flutter/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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

/tmp/pana_YHLXKI/lib/paywall_result.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_YHLXKI/lib/purchases_ui_flutter.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
purchases_flutter ^6.22.0 6.30.2 8.2.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
freezed_annotation - 2.4.4 2.4.4
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^6.22.0` on purchases_flutter does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions purchases_flutter 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 14 errors:

  • URI_DOES_NOT_EXIST - lib/views/internal_paywall_footer_view.dart:11:8 - Target of URI doesn't exist: 'package:purchases_flutter/models/purchases_error.dart'.
  • UNDEFINED_CLASS - lib/views/internal_paywall_footer_view.dart:21:18 - Undefined class 'PurchasesError'.
  • UNDEFINED_CLASS - lib/views/internal_paywall_footer_view.dart:23:18 - Undefined class 'PurchasesError'.

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

34
likes
100
pub points
96%
popularity

Publisher

verified publisherrevenuecat.com

Flutter plugin that integrates RevenueCat Paywalls. This plugin supports iOS and Android.

Homepage
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, purchases_flutter

More

Packages that depend on purchases_ui_flutter