From cefa59ea4568ef74b24bc35dd7284de37797869f Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Mon, 13 Nov 2023 15:44:08 -0800 Subject: [PATCH] Version bump for 6.3.0-beta.1 --- .version | 2 +- CHANGELOG-LATEST.md | 28 +++++++++++++------ CHANGELOG.md | 21 ++++++++++++++ android/build.gradle | 2 +- .../PurchasesFlutterPlugin.java | 2 +- ios/Classes/PurchasesFlutterPlugin.m | 2 +- ios/purchases_flutter.podspec | 2 +- macos/purchases_flutter.podspec | 2 +- pubspec.yaml | 2 +- 9 files changed, 48 insertions(+), 15 deletions(-) diff --git a/.version b/.version index 8904eecc..85b2dca6 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -6.3.0-SNAPSHOT +6.3.0-beta.1 diff --git a/CHANGELOG-LATEST.md b/CHANGELOG-LATEST.md index debc2248..0ece8bd6 100644 --- a/CHANGELOG-LATEST.md +++ b/CHANGELOG-LATEST.md @@ -1,8 +1,20 @@ -### Dependency Updates -* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.2.0 (#844) via RevenueCat Git Bot (@RCGitBot) - * [iOS 4.29.0](https://github.com/RevenueCat/purchases-ios/releases/tag/4.29.0) - * [iOS 4.28.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.28.1) -* Bump cocoapods from 1.13.0 to 1.14.2 (#843) via dependabot[bot] (@dependabot[bot]) -* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.1.1 (#840) via RevenueCat Git Bot (@RCGitBot) - * [iOS 4.29.0](https://github.com/RevenueCat/purchases-ios/releases/tag/4.29.0) - * [iOS 4.28.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.28.1) +### New Features +* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852) + +#### Instructions: +- Update `purchases-flutter` in your `pubspec.yaml`: +```yaml +dependencies: + purchases_flutter: 6.3.0-beta.1 +``` + +#### Usage: +```dart +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` \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f922e90..3ba0697e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## 6.3.0-beta.1 +### New Features +* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852) + +#### Instructions: +- Update `purchases-flutter` in your `pubspec.yaml`: +```yaml +dependencies: + purchases_flutter: 6.3.0-beta.1 +``` + +#### Usage: +```dart +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` ## 6.2.0 ### Dependency Updates * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.2.0 (#844) via RevenueCat Git Bot (@RCGitBot) diff --git a/android/build.gradle b/android/build.gradle index ffba556c..770dfe77 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'com.revenuecat.purchases_flutter' -version '6.3.0-SNAPSHOT' +version '6.3.0-beta.1' buildscript { ext.kotlin_version = '1.7.21' diff --git a/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java b/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java index d2fb9904..253ac8b9 100644 --- a/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java +++ b/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java @@ -63,7 +63,7 @@ public class PurchasesFlutterPlugin implements FlutterPlugin, MethodCallHandler, private final Handler handler = new Handler(Looper.getMainLooper()); private static final String PLATFORM_NAME = "flutter"; - private static final String PLUGIN_VERSION = "6.3.0-SNAPSHOT"; + private static final String PLUGIN_VERSION = "6.3.0-beta.1"; /** * Plugin registration. diff --git a/ios/Classes/PurchasesFlutterPlugin.m b/ios/Classes/PurchasesFlutterPlugin.m index 3f917f2f..a8900d55 100644 --- a/ios/Classes/PurchasesFlutterPlugin.m +++ b/ios/Classes/PurchasesFlutterPlugin.m @@ -680,7 +680,7 @@ - (NSString *)platformFlavor { } - (NSString *)platformFlavorVersion { - return @"6.3.0-SNAPSHOT"; + return @"6.3.0-beta.1"; } @end diff --git a/ios/purchases_flutter.podspec b/ios/purchases_flutter.podspec index 0c1ee248..0edab3ee 100644 --- a/ios/purchases_flutter.podspec +++ b/ios/purchases_flutter.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'purchases_flutter' - s.version = '6.3.0-SNAPSHOT' + s.version = '6.3.0-beta.1' s.summary = 'Cross-platform subscriptions framework for Flutter.' s.description = <<-DESC Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included! diff --git a/macos/purchases_flutter.podspec b/macos/purchases_flutter.podspec index 0594f62a..b4280d52 100644 --- a/macos/purchases_flutter.podspec +++ b/macos/purchases_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'purchases_flutter' - s.version = '6.3.0-SNAPSHOT' + s.version = '6.3.0-beta.1' s.summary = 'Cross-platform subscriptions framework for Flutter.' s.description = <<-DESC Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included! diff --git a/pubspec.yaml b/pubspec.yaml index 2c80a76e..416d423c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: purchases_flutter description: Flutter in-app purchases and subscriptions made easy. The plugin supports iOS, macOS and Android. -version: 6.3.0-SNAPSHOT +version: 6.3.0-beta.1 homepage: https://www.revenuecat.com/ repository: https://github.com/RevenueCat/purchases-flutter issue_tracker: https://github.com/RevenueCat/purchases-flutter/issues