New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852)
Instructions:
- Update
purchases-flutter
in yourpubspec.yaml
:
dependencies:
purchases_flutter: 6.3.0-beta.2
- For Android, you need to change your
MainActivity
to subclassPurchasesFlutterActivity
instead ofFlutterActivity
.
Usage:
await Purchases.presentPaywallIfNeeded("pro");
Limitations:
- Currently only full screen paywalls are supported
- There is no way to detect paywall events other than using
addCustomerInfoUpdateListener
- Android's
minSdkVersion
is temporarily increased from19
to24
to support paywalls. This will be reverted in a future release as we splitpurchases_flutter
andpurchases_flutter_ui
To view new release, visit https://github.com/RevenueCat/purchases-flutter/releases/tag/6.3.0-beta.2