Skip to content

6.3.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@RCGitBot RCGitBot released this 14 Nov 01:24

New Features

  • 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852)

Instructions:

  • Update purchases-flutter in your pubspec.yaml:
dependencies:
  purchases_flutter: 6.3.0-beta.1
  • For Android, you need to change your MainActivity to subclass PurchasesFlutterActivity instead of FlutterActivity.

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 from 19 to 24 to support paywalls. This will be reverted in a future release as we split purchases_flutter and purchases_flutter_ui