Skip to main content
SDK

Flutter 6.15.0

Flutter 6.15.0
RC Support
RevenueCat Staff
Forum|alt.badge.img+3

New features

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

Instructions:

  • For Android, you need to change your MainActivity to subclass FlutterFragmentActivity instead of FlutterActivity. Also, the min sdk version of the new package is 24. Please make sure your app's android/build.gradle minSdkVersion has that or a higher version.
  • Add purchases-ui-flutter in your pubspec.yaml:
dependencies:
  purchases_ui_flutter: 6.15.0

Usage:

import 'package:purchases_ui_flutter/purchases_ui_flutter.dart';

await RevenueCatUI.presentPaywallIfNeeded("pro");

Limitations:

  • Currently only full screen paywalls are supported
  • There is no way to detect paywall events other than using addCustomerInfoUpdateListener

To view new release, visit https://github.com/RevenueCat/purchases-flutter/releases/tag/6.15.0

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings