3.2.0
π Meet the Adapty Flutter SDK 3.2.0!
With this version we're introducing support for the new paywall builder that offers more templates and layout flexibility. Note that:
- This version doesn't support paywalls created in the legacy (current) paywall builder
- But you can easily migrate those with a single press of a button in Adapty Dashboard
- This version also offers complete support of StoreKit 2 and Swift 6 on the iOS side. See more here.
- Added support for win-back offers. Read More.
Breaking Changes:
- Adapty and AdaptyUI are now a single module, so you don't need to import them separately
- The
activate
method now requires you to pass theapiKey
and other parameters explicitly. Automatic activation using values from a file is no longer supported. makePurchase
now returnsAdaptyPurchaseResult
instead ofAdaptyPurchasedInfo
.getProductsIntroductoryOfferEligibility(products:)
has been removed. ThegetPaywallProducts
function now returns a product object with prepopulated offer information. Consider using thegetPaywallProductsWithoutDeterminingOffer(paywall:)
method if you need to load products without determining offer eligibilities.paywallViewDidFinishPurchase
now acceptsAdaptyPurchaseResult
instead ofAdaptyPurchasedInfo
.paywallViewDidSelectProduct
now acceptsString
(productId) instead ofAdaptyPaywallProduct
.paywallViewDidCancelPurchase
has been removed. Please use thepurchaseResult
frompaywallViewDidFinishPurchase
to detect purchase cancellations.