Releases: Purchasely/Purchasely-Flutter
4.1.2
🚨 Important: This SDK version uses StoreKit 2 by default. Read the documentation for more information.
If you did not configure StoreKit 2 in Purchasely console, the SDK will fallback to StoreKit 1.
Fixes for iOS:
- Close button always visible even when deactived on Purchasely console
- Infinite loader when cancelling purchase
Fix for Android:
- Possible crash when saving user attributes if application was compiled with Java 8 due to Kotlinx Serialization issue
4.1.1
🚨 Important: This SDK version uses StoreKit 2 by default. Read the documentation for more information.
If you did not configure StoreKit 2 in Purchasely console, the SDK will fallback to StoreKit 1.
Improvements:
- Purchase with promo offer
isEligibleForIntroOffer
method- Metadata handling for 'Use your own paywall'
iOS only:
signPromotionalOffer
method
Android only:
- Added
subscriptionOffer
to Paywall Action Interceptor parameters
4.0.1
🚨 Important: This SDK version uses StoreKit 2 by default. Read the documentation for more information.
If you did not configure StoreKit 2 in Purchasely console, the SDK will fallback to StoreKit 1.
Fix
In this release, we have addressed a bug affecting the purchase action while using the SDK in Observer mode. Please update to this version if you are in paywall observer mode.
4.0.0
🚨 Important: This SDK version uses StoreKit 2 by default unless you have not setup credential for SK2 in Purchasely console.
🚧 Important: Documentation for this release is in progress and will be available in early September. Some methods and properties have undergone changes. Detailed information will follow soon.
Google Play Billing v5 Integration
Version: Purchasely SDK 4.0.0 now integrates with Google Play Billing v5 (5.2.1). This ensures you have access to the comprehensive features introduced in the latest version of Google's in-app subscriptions.
Action Required: Review your plans on the Purchasely console to confirm the presence of a basePlan identifier.
StoreKit 2 by default
On iOS devices running with iOS 15+, Purchasely SDK uses StoreKit 2 by default.
Please, follow our documentation to upload your private key and do all necessary steps for StoreKit 2 on Purchasely console.
Promo Offers (Exclusive for Google and Apple)
New Feature: Excitingly, we're introducing support for promotional offers on AppStore Connect and developer determined offers on Google Play Console.
Action Required: When setting up your developer determined offers in the Google Play Console, make sure to tag them as "ignore-offer". This ensures that the Purchasely SDK doesn't automatically apply them to all your paywalls. Instead, they'll be used exclusively where you've specified.
iOS Eligibility Management
Streamlined and restructured for products, providing a more coherent and optimized experience.
Presentation lifecycle handling
Purchasely.hidePresentation()
to hide a paywall.Purchasely.showPresenttation()
to display hidden paywall.Purchasely.closePresentation()
to close definitely paywall displayed (needs to call fetchPresentation to display it again).
Is Anonymous
Add method Purchasely.isAnonymous()
: Promise to know if your user is currently anonymous or not for Purchasely.
Android Build Configuration Update
Kotlin: Upgraded to 1.7.21.
1.7.2
Enhancements on Android
- Update Exoplayer dependency to 2.19.0 in player module
- Update player module to compile with SDK 33
- Use countdown tag for any labels in your paywalls
Enhancements on iOS
- Improve eligibility check for introductory and promo offers
- Fixes a bug affecting the price display depending on time period
1.7.1
Fixes on Android
- Improve paywall engine for default selected plan on display
- A/B test data for a flow of paywalls
- Now, you can override paywall closing after a purchase with
PaywallActionInterceptor
- Performance improvements on Purchasely.start() method to retrieve application configuration and google products (pricing and offers)
1.7.0
Features
- Support of GIF format for enhanced media capabilities.
- 🇳🇱 Dutch (NL) Language Support - The SDK now includes language support for Dutch localization.
TRIAL_PRICE
Tag Enhancement - TheTRIAL_PRICE
tag has been updated to consider the introductory price if both a free trial and an introductory price are configured for a subscription on the Google Play Console.QUARTERLY_AMOUNT
Tag - The newQUARTERLY_AMOUNT
tag has been added to provide the equivalent subscription price in quarter like it is already possible in daily, weekly, monthly and yearly. PLYPlan now contains the methodquarterlyEquivalentPrice()
to retrieve the valueAIRSHIP_USER_ID
Attribute - AnAIRSHIP_USER_ID
attribute has been introduced to facilitate integration with Airship.
Fixes
- Carousel paywall restoration - Paywalls with a carousel are now correctly restored when navigating back within the app.
- Event emission fix - Restoration or Purchase events were not emitted correctly if performed consecutively
- We also fix several issues, the main one is our SDK is now available starting with iOS 11 (the past couple of releases are only available for iOS13+).
1.6.0
chore: version 1.6.0
1.5.2
Fixes
fetchPresentation()
method for Android to open a paywall asynchronouslyclosePaywall()
, which hides the paywall by default on Android, can now take optional boolean argument to close the paywall definitively and prevent it from being open again withonProcessAction()
- Remove paywalls from background tasks on Android when closed
- Remove
subscription_status
attribute from Subscription (temporary until available on all platforms)
1.5.1
chore: version 1.5.1