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

[pending analysis]

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

RevenueCat

pub package

purchases_ui_flutter #

purchases_ui_flutter allows to use RevenueCat's paywalls and customer center in your Flutter application. Check our main SDK for more information and our paywalls documentation

Installation #

To use this plugin, add purchases_flutter and purchases_ui_flutter as a dependency in your pubspec.yaml file.

Paywalls #

Present your paywall like:

await RevenueCatUI.presentPaywall();

or conditionally based on entitlements:

await RevenueCatUI.presentPaywallIfNeeded("requiredEntitlementId");

Customer Center #

Present as a modal (callbacks optional):

await RevenueCatUI.presentCustomerCenter(
  onRestoreCompleted: (customerInfo) {
    // handle restore success
  },
  onRefundRequestCompleted: (productId, status) {
    // handle refund completion
  },
);

// Or, if you don't need callbacks:
await RevenueCatUI.presentCustomerCenter();

Or display inline using the CustomerCenterView widget. See the CustomerCenterView implementation for full API details and callback options.

Requirements #

purchases_ui_flutter requires XCode 14.0+ and minimum targets iOS 11.0+ and Android 24+. Paywalls will only work on iOS 15.0+ and Android 24+.

SDK Reference #

Our full SDK reference can be found here.

Getting Started #

For more detailed information, you can view our complete documentation at docs.revenuecat.com.

69
likes
0
points
47k
downloads

Publisher

verified publisherrevenuecat.com

Weekly Downloads

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

Homepage
View/report issues

Documentation

Documentation

License

(pending) (license)

Dependencies

flutter, plugin_platform_interface, purchases_flutter

More

Packages that depend on purchases_ui_flutter

Packages that implement purchases_ui_flutter