purchasely_google 4.0.0
purchasely_google: ^4.0.0 copied to clipboard
Purchasely Google Play Billing dependency for Android
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
Android Build Configuration Update #
Kotlin: Upgraded to 1.7.2.
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
- Now, you can override paywall closing after a purchase with
- 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_PRICETag Enhancement - TheTRIAL_PRICEtag 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_AMOUNTTag - The newQUARTERLY_AMOUNTtag 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_IDAttribute - AnAIRSHIP_USER_IDattribute 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.2 #
- Fix paywall display on Android with fetchPresentation
1.6.1 #
- Fix iOS compilation issue
1.6.0 #
- Auto import of your subscriptions at the first launch of the SDK
- Ukrainian language added
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_statusattribute from Subscription (temporary until available on all platforms)
1.5.1 #
Add optional argument to closePaywall() method to close definitively the paywall
1.5.0 #
New features #
- Fetch presentation before displaying it
- Disable specific placement or audience to not show a paywall
- Display your own paywall with Purchasely placements
1.4.2 #
🇮🇱 Hebrew language supported 🐞 Under the hood, we provide some stability improvements and several bug fixes