app_paywall 0.0.1 copy "app_paywall: ^0.0.1" to clipboard
app_paywall: ^0.0.1 copied to clipboard

A Flutter package to integrate a RevenueCat paywall with fallback offers.

100/ 160
pub points
33
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

17 out of 66 API elements (25.8 %) have documentation comments.

Some symbols that are missing documentation: app_paywall, paywall_controller, paywall_controller.LocalStoreProduct.LocalStoreProduct.new, paywall_controller.LocalStoreProduct.currencyCode, paywall_controller.LocalStoreProduct.description.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:app_paywall/app_paywall.dart that imports:
  • package:app_paywall/ui/paywall_page.dart that imports:
  • package:app_paywall/controller/paywall_controller.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:app_paywall/app_paywall.dart that imports:
  • package:app_paywall/ui/paywall_page.dart that imports:
  • package:app_paywall/controller/paywall_controller.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:app_paywall/app_paywall.dart that imports:
  • package:app_paywall/ui/paywall_page.dart that imports:
  • package:app_paywall/controller/paywall_controller.dart that imports:
  • package:purchases_flutter/purchases_flutter.dart that declares support for platforms: Android, iOS, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: The asset directory 'assets/images/' doesn't exist.

pubspec.yaml:25:7

   ╷
25 │     - assets/images/
   │       ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze pubspec.yaml

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/ui/paywall_page.dart:342:51

    ╷
342 │               colors: [widget.brand, widget.brand.withOpacity(0.7)],
    │                                                   ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/paywall_page.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
get ^4.6.5 4.7.3 4.7.3
purchases_flutter ^4.3.0 4.13.0 10.11.0
purchases_ui_flutter ^6.17.0 6.17.0 10.11.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
freezed_annotation - 2.4.4 3.1.0
json_annotation - 4.12.0 4.12.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1

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

The constraint `^4.3.0` on purchases_flutter does not support the stable version `5.0.0`.

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

The constraint `^6.17.0` on purchases_ui_flutter does not support the stable version `7.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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_GETTER - lib/controller/paywall_controller.dart:49:37 - The getter 'subscriptionPeriod' isn't defined for the type 'StoreProduct'.
  • UNDEFINED_GETTER - lib/ui/paywall_page.dart:127:25 - The getter 'subscriptionPeriod' isn't defined for the type 'StoreProduct'.

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
33
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package to integrate a RevenueCat paywall with fallback offers.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, get, purchases_flutter, purchases_ui_flutter

More

Packages that depend on app_paywall