Releases: adaptyteam/AdaptySDK-iOS
2.9.2
2.9.1
- Added
.returnCacheDataIfNotExpiredElseLoad(maxAge: TimeInterval)
fetch policy forgetPaywall()
method.
This enhancement allows you to set a maximum age for cached data, where 'cache age' refers to the time elapsed since the data was last fetched. Note that regardless of the cache's age, if the Adapty server is unavailable, the cached data will still be returned.
2.9.0
This version relies on StoreKit 2 instead of StoreKit 1. Starting from this version, you must connect your account to Apple In-App Purchase API in Adapty Dashboard. Otherwise, we won't be able to make or validate purchases.
New:
- Since this version we are using CDN. This technology helps us to synchronize data much faster.
- Added an option to retrieve paywalls from local cache by passing
fetchPolicy
parameter into.getPaywall()
method - Added an option to specify paywall fetching timeout by passing
loadTimeout
parameter into.getPaywall()
method
Read More in our documentation.
Breaking Changes:
placementId
parameter has been added to thegetPaywall
method, replacing the previously unnamed parameterid
. Read MoreenableUsageLogs
parameter was removed fromactivate
method. Read More- We have changed default value of
storeKit2Usage
parameter inactivate
method to.forIntroEligibilityCheck
(this means that by default we will fetch introductory offers eligibility using StoreKit 2). Read More
2.8.0
- Added an option to pass
oneSignalSubscriptionId
toAdaptyProfileParameters.Builder
to facilitate upgrades to OneSignal SDK v5+ which deprecates theplayerId
. Read more here: Adapty docs, OneSignal SDK Release Notes
- async/await syntax was updated - no more optionals results.
- iAd support has been discontinued. For more modern approach look into AdServices Framework.
2.7.0
2.6.3
2.6.2
2.6.1
- Fixed the order of products in the resulting array of
.getPaywallProducts
method.
2.6.0
In this version, the Adapty SDK will observe StoreKit 2 transactions, which will be helpful if you are using observer mode.
- The
.setVariationId(_:forTransactionId:)
method has been split into two versions that are different based on the type of transaction: StoreKit 1 and StoreKit 2 variants. The new method is calledsetVariationId(_:forPurchasedTransaction:_:)
- The
.makePurchase
method now returnsAdaptyPurchasedInfo
(which includes a purchased transaction) instead ofAdaptyProfile
. - The
AdaptyDelegate
method.shouldAddStorePayment(for:defermentCompletion:)
now awaitsAdaptyPurchasedInfo
in the completion block. - Added a method for StoreKit receipt fetching:
.getReceipt()
.
2.5.1
- Fixed the order of products in the resulting array of
.getPaywallProducts
method. - If you are using CocoaPods, you can refer this version like this:
pod 'Adapty', :git => 'git@github.com:adaptyteam/AdaptySDK-iOS.git', :tag => '2.5.1'
2.5.0
-
Introduced a new functionality for retrieving introductory offers eligibility using StoreKit 2.
Please note that in this version, the
introductoryOfferEligibility
field is no longer a part ofAdaptyPaywallProduct
. To fetch it, you should now use a separate method called.getProductsIntroductoryOfferEligibility
. The behavior of this function depends on your Adapty SDK configuration. It will utilize StoreKit 2 if available or fallback to a legacy logic based on receipt analysis. For more detailed information, please refer to our documentation. Read more.
Fixes:
- Resolved the issue of incorrect logId for certain log entries.