Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero authored Jan 5, 2024
1 parent ac3fb36 commit c2f7f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ await RevenueCatUI.presentPaywallIfNeeded("pro");
- There is no way to detect paywall events other than using `addCustomerInfoUpdateListener`

#### Breaking changes from previous beta:
- Now, you need to add a new dependency `purchases_ui_flutter` to your `pubspec.yaml`. Before this, it was part of the main RevenueCat SDK `purchases_flutter`.
- 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.
Expand Down

0 comments on commit c2f7f78

Please sign in to comment.