Repository navigation
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
activatemethod now requires you to pass theapiKeyand other parameters explicitly. Automatic activation using values from a file is no longer supported. makePurchasenow returnsAdaptyPurchaseResultinstead ofAdaptyPurchasedInfo.getProductsIntroductoryOfferEligibility(products:)has been removed. ThegetPaywallProductsfunction now returns a product object with prepopulated offer information. Consider using thegetPaywallProductsWithoutDeterminingOffer(paywall:)method if you need to load products without determining offer eligibilities.paywallViewDidFinishPurchasenow acceptsAdaptyPurchaseResultinstead ofAdaptyPurchasedInfo.paywallViewDidSelectProductnow acceptsString(productId) instead ofAdaptyPaywallProduct.paywallViewDidCancelPurchasehas been removed. Please use thepurchaseResultfrompaywallViewDidFinishPurchaseto detect purchase cancellations.