-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### 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
Showing
9 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.5.1 | ||
6.6.0-beta.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters