Releases: RevenueCat/purchases-flutter
6.4.0
New Features
Trusted Entitlements
: add support for settingEntitlementVerificationMode
and getting verification result inEntitlementInfos
andEntitlementInfo
(#753) via NachoSoto (@NachoSoto)
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.0.0 (#878) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.4.0 (#871) via RevenueCat Git Bot (@RCGitBot)
- Bump fastlane from 2.216.0 to 2.217.0 (#865) via dependabot[bot] (@dependabot[bot])
- Bump danger from 9.3.2 to 9.4.0 (#866) via dependabot[bot] (@dependabot[bot])
Other Changes
- Fix flutter analyze deprecation warnings (#872) via Toni Rico (@tonidero)
CI
: disableprepare-next-version
(#869) via NachoSoto (@NachoSoto)
6.3.0-beta.2
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852)
Instructions:
- Update
purchases-flutter
in yourpubspec.yaml
:
dependencies:
purchases_flutter: 6.3.0-beta.2
- For Android, you need to change your
MainActivity
to subclassPurchasesFlutterActivity
instead ofFlutterActivity
.
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 from19
to24
to support paywalls. This will be reverted in a future release as we splitpurchases_flutter
andpurchases_flutter_ui
6.3.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.3 (#864) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.2 (#859) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.0 (#850) via RevenueCat Git Bot (@RCGitBot)
Other Changes
Purchase Tester
: remove unusedActivity
(#860) via NachoSoto (@NachoSoto)- Remove
.common_version
(#861) via NachoSoto (@NachoSoto) - Add
3.10.1
toVERSIONS
(#858) via NachoSoto (@NachoSoto) - Remove unused GoogleProrationMode import (#848) via Toni Rico (@tonidero)
6.3.0-beta.1
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#852)
Instructions:
- Update
purchases-flutter
in yourpubspec.yaml
:
dependencies:
purchases_flutter: 6.3.0-beta.1
- For Android, you need to change your
MainActivity
to subclassPurchasesFlutterActivity
instead ofFlutterActivity
.
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 from19
to24
to support paywalls. This will be reverted in a future release as we splitpurchases_flutter
andpurchases_flutter_ui
3.10.1
6.2.0
Dependency Updates
6.1.0
6.0.0
RevenueCat Flutter SDK v6 is here!! 😻
This latest release updates the SDK to use BillingClient 6 in Android. This version of BillingClient brings little change compared with BillingClient 5 which brought an entire new subscription model which resulted in large changes across the entire SDK.
The only modification at the API level involves replacing "ProrationMode" with "ReplacementMode". The specific replacement modes remain unchanged.
If your app doesn't currently use DEFERRED replacement modes, then you should be safe to upgrade to this version without changes in behavior.
If your app supports product changes using DEFERRED replacement mode, then you can either stick with the previous major version until support for DEFERRED is re-introduced in this major version, or you can remove DEFERRED replacement options from your app.
If you are using the SDK in observer mode, you should only use v6 in Android if you're using BillingClient 6.
See the Android Native - 6.x to 7.x Migration for more details.
If you come from an older version of the RevenueCat SDK, see Android Native - 5.x to 6.x Migration for a more thorough explanation of the new Google subscription model announced with BillingClient 5 and how to take advantage of it.
Bumped minimum Android SDK version
RevenueCat SDK v7 bumps minimum Android SDK version from Android 4.0 (API level 16) to Android 4.4 (API level 19).
Support for InApp Messages
We've added new APIs to support InApp messages both in Android and iOS.
You can read more about:
- Google Play InApp Messages which will show users a snackbar message during grace period and account hold once per day and provide them an opportunity to fix their payment without leaving the app.
- App Store InApp messages which will show a modal during grace period once per subscription.
InApp Messages are shown by default in both platforms. If you want to disable this behaviour during configuration of the RevenueCat SDK, setup the shouldShowInAppMessagesAutomatically
property during configuration to false
:
PurchasesConfiguration configuration = PurchasesConfiguration("api_key");
configuration.shouldShowInAppMessagesAutomatically = false;
Purchases.configure(configuration);
Dependency Updates
5.8.0
5.7.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 6.2.0 (#814) via RevenueCat Git Bot (@RCGitBot)
- Bump fastlane from 2.214.0 to 2.215.1 (#813) via dependabot[bot] (@dependabot[bot])