Releases: adaptyteam/AdaptySDK-iOS
Releases · adaptyteam/AdaptySDK-iOS
3.3.1
3.3.0
⚠️ Breaking Changes
Integrations and Attribution Configuration. Read More.
-
New Method for Setting Integration Identifiers:
- Introduced
setIntegrationIdentifier(key:value:)
:- Previously, integrations were configured using the
updateProfile
method, passing integration IDs to the builder. - Now, use
setIntegrationIdentifier
to set integration identifiers with akey
andvalue
.
- Previously, integrations were configured using the
- Introduced
-
Updated
updateAttribution
Method:- The
source
parameter is now aString
instead of an enum. - The
networkUserId
parameter has been removed. UsesetIntegrationIdentifier
to set thenetworkUserId
instead. - Changed the parameter type from
[String: any Sendable]
back to[AnyHashable: Any]
.
- The
Observer Mode. Read More.
‼️ Transactions must now be explicitly reported when using Observer Mode:- Replace calls to
setVariationId(:forPurchasedTransaction:)
withreportTransaction(:withVariationId:)
after everytransaction.finish()
. - The
variationId
parameter inreportTransaction
is now optional.
- Replace calls to
Full Changelog: 3.2.4...3.3.0
📺 You can also refer to our video explaining how to migrate to Adapty 3.3.0 from 3.2.0 and earlier.
3.2.4
3.2.2
- Added support for Xcode 16.2
- Fixed support for Xcode 15.x
Full Changelog: 3.2.1...3.2.2
3.2.1
- AdaptyUI: Internal improvements to paywall rendering.
Full Changelog: 3.2.0...3.2.1
3.2.0
🎉 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.
- Support for win-back offers. Read More.
Breaking Changes:
- AdaptyDelegate
AdaptyDelegate
now requiresSendable
conformance.shouldAddStorePayment(for:defermentCompletion:) -> Bool
ofAdaptyDelegate
was removed, please implementshouldAddStorePayment(for:) -> Bool
instead.
- Adapty
makePurchase
now returnsAdaptyPurchaseResult
instead ofAdaptyPurchasedInfo
. Read moregetProductsIntroductoryOfferEligibility(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. Read more
- AdaptyUI
AdaptyUI.getViewConfiguration(forPaywall:)
has been renamed toAdaptyUI.getPaywallConfiguration(forPaywall:)
and now returnsAdaptyUI.PaywallConfiguration
instead ofAdaptyUI.LocalizedViewConfiguration
. Read more
- AdaptyPaywallControllerDelegate. Read more
paywallController(_:didFinishPurchase:purchasedInfo:)
has been changed topaywallController(_:didFinishPurchase:purchaseResult:)
.paywallController(_:didSelectProduct:)
now acceptsAdaptyPaywallProductWithoutDeterminingOffer
instead ofAdaptyPaywallProduct
.paywallController(_:didCancelPurchase:)
has been removed. Please use thepurchaseResult
frompaywallController(_:didFinishPurchase:purchaseResult:)
to detect purchase cancellations.
Full Changelog: 3.1.0...3.2.0
3.1.0
3.0.3
- 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
- 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
- added
getPaywallForDefaultAudience
method
Full Changelog: 2.11.1...2.11.2