Skip to content

Commit

Permalink
Release/6.6.0-beta.3 (#907)
Browse files Browse the repository at this point in the history
### 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`:
```yaml
dependencies:
  purchases_flutter: 6.6.0-beta.3
```

#### 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`

### Breaking changes from previous beta

- `PurchasesFlutterActivity` has been removed. Use
`FlutterFragmentActivity` provided by Flutter instead

### Fixes from previous beta
* Fix `presentPaywallIfNeeded` (#904) via Toni Rico (@tonidero)

### 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)
  • Loading branch information
tonidero authored Dec 22, 2023
1 parent 60335c3 commit 9e9306a
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.1
6.6.0-beta.3
38 changes: 33 additions & 5 deletions CHANGELOG-LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
### Dependency Updates
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.1 (#892) via RevenueCat Git Bot (@RCGitBot)
* [Android 7.2.7](https://github.com/RevenueCat/purchases-android/releases/tag/7.2.7)
* [iOS 4.31.2](https://github.com/RevenueCat/purchases-ios/releases/tag/4.31.2)
* Bump danger from 9.4.0 to 9.4.1 (#889) via dependabot[bot] (@dependabot[bot])
### 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`:
```yaml
dependencies:
purchases_flutter: 6.6.0-beta.3
```
#### 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`

### Breaking changes from previous beta

- `PurchasesFlutterActivity` has been removed. Use `FlutterFragmentActivity` provided by Flutter instead

### Fixes from previous beta
* Fix `presentPaywallIfNeeded` (#904) via Toni Rico (@tonidero)

### 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)
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
## 6.6.0-beta.3
### 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`:
```yaml
dependencies:
purchases_flutter: 6.6.0-beta.3
```
#### 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`

### Breaking changes from previous beta

- `PurchasesFlutterActivity` has been removed. Use `FlutterFragmentActivity` provided by Flutter instead

### Fixes from previous beta
* Fix `presentPaywallIfNeeded` (#904) via Toni Rico (@tonidero)

### 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
### Dependency Updates
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.1 (#892) via RevenueCat Git Bot (@RCGitBot)
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.revenuecat.purchases_flutter'
version '6.5.1'
version '6.6.0-beta.3'

buildscript {
ext.kotlin_version = '1.7.21'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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.5.1";
private static final String PLUGIN_VERSION = "6.6.0-beta.3";

/**
* Plugin registration.
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/PurchasesFlutterPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ - (NSString *)platformFlavor {
}

- (NSString *)platformFlavorVersion {
return @"6.5.1";
return @"6.6.0-beta.3";
}

@end
2 changes: 1 addition & 1 deletion ios/purchases_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'purchases_flutter'
s.version = '6.5.1'
s.version = '6.6.0-beta.3'
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!
Expand Down
2 changes: 1 addition & 1 deletion macos/purchases_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'purchases_flutter'
s.version = '6.5.1'
s.version = '6.6.0-beta.3'
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!
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.5.1
version: 6.6.0-beta.3
homepage: https://www.revenuecat.com/
repository: https://github.com/RevenueCat/purchases-flutter
issue_tracker: https://github.com/RevenueCat/purchases-flutter/issues
Expand Down

0 comments on commit 9e9306a

Please sign in to comment.