Skip to content

Releases: adaptyteam/AdaptySDK-iOS

3.2.0

19 Nov 17:14
Compare
Choose a tag to compare

🎉 Meet the Adapty iOS SDK 3.2.0!

  • Comprehensive Support for StoreKit 2: With the deprecation of the original API for In-App Purchases, we have redesigned our internal logic from the ground up to support the latest StoreKit 2 framework. Adapty also continues to support the original API for devices running iOS 13 and 14, where StoreKit 2 is unavailable.
  • Enhanced Swift Concurrency Integration: Adapty now leverages Swift concurrency in strict mode, offering developers a smoother and more efficient way to handle asynchronous tasks.
  • Swift 6 Ready: Adapty is fully compatible with Swift 6, embracing the latest features and improvements in the Swift ecosystem.
  • Seamless Backward Support: Existing projects are safe. Adapty continues to support Swift 5 and Xcode 15, ensuring uninterrupted compatibility for legacy setups.

⚠️ This version does not yet support VisionOS due to significant differences in how StoreKit 2 functions on this platform. We plan to restore support soon. In the meantime, please consider using Adapty SDK 3.1.0.

Breaking Changes:

  • AdaptyDelegate
    • AdaptyDelegate now requires Sendable conformance.
    • shouldAddStorePayment(for:defermentCompletion:) -> Bool of AdaptyDelegate was removed, please implement shouldAddStorePayment(for:) -> Bool instead.
  • Adapty
    • makePurchase now returns AdaptyPurchaseResult instead of AdaptyPurchasedInfo. Read more
    • getProductsIntroductoryOfferEligibility(products:) has been removed. The getPaywallProducts function now returns a product object with prepopulated offer information. Consider using the getPaywallProductsWithoutDeterminingOffer(paywall:) method if you need to load products without determining offer eligibilities. Read more
  • AdaptyUI
    • AdaptyUI.getViewConfiguration(forPaywall:) has been renamed to AdaptyUI.getPaywallConfiguration(forPaywall:) and now returns AdaptyUI.PaywallConfiguration instead of AdaptyUI.LocalizedViewConfiguration. Read more
  • AdaptyPaywallControllerDelegate. Read more
    • paywallController(_:didFinishPurchase:purchasedInfo:) has been changed to paywallController(_:didFinishPurchase:purchaseResult:).
    • paywallController(_:didSelectProduct:) now accepts AdaptyPaywallProductWithoutDeterminingOffer instead of AdaptyPaywallProduct.
    • paywallController(_:didCancelPurchase:) has been removed. Please use the purchaseResult from paywallController(_:didFinishPurchase:purchaseResult:) to detect purchase cancellations.

Full Changelog: 3.1.0...3.2.0

3.1.0

16 Oct 15:04
Compare
Choose a tag to compare
  • Hero video support for paywall builder
  • Fixed dividers not showing in Links element

3.0.3

27 Aug 12:07
Compare
Choose a tag to compare
  • added getPaywallForDefaultAudience method
  • AdaptyUI: added unified price formatting (no decimals for integers and 2-digits decimals for non-integers)

Full Changelog: 3.0.2...3.0.3

2.11.3

27 Aug 11:50
Compare
Choose a tag to compare
  • added unified price formatting (no decimals for integers and 2-digits decimals for non-integers)

Full Changelog: 2.11.2...2.11.3

2.11.2

15 Aug 16:55
Compare
Choose a tag to compare
  • added getPaywallForDefaultAudience method

Full Changelog: 2.11.1...2.11.2

3.0.2

08 Aug 11:58
Compare
Choose a tag to compare
  • AdaptyUI: Added an option to present alerts above the paywall view (SwiftUI).
  • Added two new demo apps (UIKit + CocoaPods and SwiftUI + SPM) for a better understanding of our SDK integration process.

Full Changelog: 3.0.1...3.0.2

3.0.1

02 Aug 12:52
Compare
Choose a tag to compare
  • AdaptyUI: fix observer mode availability

2.11.1

26 Jul 18:04
Compare
Choose a tag to compare

Full Changelog: 2.11.0...2.11.1

3.0.0

18 Jul 19:05
Compare
Choose a tag to compare

🎉 Meet the Adapty iOS SDK 3.0.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
    Read our Migration Guide for mode details.

Breaking Changes:

  • The AdaptyUI library is deprecated; it is now part of AdaptySDK;
  • AdaptyUI now supports iOS 15 and newer. Make sure to use available directives where needed;
  • AdaptyUI.SDKVersion was removed. Use Adapty.SDKVersion if needed;
  • AdaptyUI.paywallController(for:...) method is now throwing. Make sure to handle the error;
  • AdaptyUI.ViewConfiguration is now private. Use AdaptyUI.LocalizedViewConfiguration instead;
  • AdaptyUI.LocalizedViewConfiguration.isHard was removed

Full Changelog: 2.11.0...3.0.0

3.0.0-beta.2

08 Jul 09:36
Compare
Choose a tag to compare
3.0.0-beta.2 Pre-release
Pre-release

🎉 Meet the Adapty iOS SDK 3.0.0-beta!

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
    Read our Migration Guide for mode details.