Skip to content

Releases: RevenueCat/purchases-flutter

6.18.0

26 Jan 17:42
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: displayCloseButton parameter (#948) via NachoSoto (@NachoSoto)
  • Paywalls: added Offering parameter to presentPaywall methods (#947) via NachoSoto (@NachoSoto)

Dependency Updates

Other Changes

  • Refactor and cleanup of purchase_tester (#950) via Cesar de la Vega (@vegaro)

6.17.0

24 Jan 16:00
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: separate PurchasesHybridCommonUI (#943) via NachoSoto (@NachoSoto)

Dependency Updates

6.16.1

19 Jan 11:31
Compare
Choose a tag to compare

Dependency Updates

6.16.0

17 Jan 22:14
Compare
Choose a tag to compare

Dependency Updates

6.15.0

12 Jan 20:47
Compare
Choose a tag to compare

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

6.15.0-beta.4

05 Jan 14:20
c2f7f78
Compare
Choose a tag to compare
6.15.0-beta.4 Pre-release
Pre-release

New features

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

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-beta.4

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

Breaking changes from previous beta:

  • Paywalls functionality has been extracted into a new dependency called purchases_ui_flutter. Add purchases_ui_flutter to your pubspec.yaml. Before this release, it was part of the main RevenueCat SDK purchases_flutter.
  • A new import is required to use this functionality: import 'package:purchases_ui_flutter/purchases_ui_flutter.dart';
  • Usage has changed the class from Purchases.presentPaywall to RevenueCatUI.presentPaywall.
  • presentPaywall and presentPaywallIfNeeded now don't return a result. To detect purchases, please use Purchases.getCustomerInfo from the purchases_flutter SDK. A return value will be added in future releases.

Other Changes

  • Fix pub score for purchases-ui-flutter (#924) via Toni Rico (@tonidero)
  • Update paywalls to latest main (#923) via Toni Rico (@tonidero)
  • Rename purchases_flutter_ui to purchases_ui_flutter (#921) via Toni Rico (@tonidero)
  • Separate paywalls into a different package (#919) via Toni Rico (@tonidero)
  • Remove result from presentPaywall methods (#916) via Toni Rico (@tonidero)
  • Update to use PHC PaywallHelpers instead of custom activity (#903) via Toni Rico (@tonidero)

6.6.0

04 Jan 08:58
aae3bb8
Compare
Choose a tag to compare

Dependency Updates

Other Changes

  • Fix freezed tests after latest update (#899) via Toni Rico (@tonidero)

6.6.0-beta.3

22 Dec 16:38
Compare
Choose a tag to compare
6.6.0-beta.3 Pre-release
Pre-release

New Features

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

Instructions:

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

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

Breaking changes from previous beta

  • PurchasesFlutterActivity has been removed. Use FlutterFragmentActivity provided by Flutter instead

Fixes from previous beta

Other Changes

  • Update paywalls latest main (#906) via Toni Rico (@tonidero)
  • Update to use PHC PaywallHelpers instead of custom activity (#903) via Toni Rico (@tonidero)
  • Fix flutter analyze deprecation warnings (#872)

6.5.1

13 Dec 17:54
Compare
Choose a tag to compare

Dependency Updates

6.5.0

06 Dec 19:03
Compare
Choose a tag to compare

Dependency Updates