Skip to content

Releases: adaptyteam/AdaptySDK-iOS

2.9.2

05 Jan 14:47
Compare
Choose a tag to compare
  • Fixed support for Swift 5.7.x (Xcode 14.0 - 14.2)

2.9.1

25 Dec 11:58
Compare
Choose a tag to compare
  • Added .returnCacheDataIfNotExpiredElseLoad(maxAge: TimeInterval) fetch policy for getPaywall() 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

08 Dec 18:23
Compare
Choose a tag to compare

⚠️ Warning:
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 the getPaywall method, replacing the previously unnamed parameter id. Read More
  • enableUsageLogs parameter was removed from activate method. Read More
  • We have changed default value of storeKit2Usage parameter in activate method to .forIntroEligibilityCheck (this means that by default we will fetch introductory offers eligibility using StoreKit 2). Read More

2.8.0

25 Oct 15:42
Compare
Choose a tag to compare
  • Added an option to pass oneSignalSubscriptionId to AdaptyProfileParameters.Builder to facilitate upgrades to OneSignal SDK v5+ which deprecates the playerId. Read more here: Adapty docs, OneSignal SDK Release Notes

⚠️ Breaking Changes:

  • 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

05 Sep 17:01
Compare
Choose a tag to compare

🎉 Adapty SDK was updated to support the new version of AdaptyUI and Paywall Builder

⚠️ Breaking Changes:

  • AdaptyUI.getViewConfiguration(paywall:_) was transformed to AdaptyUI.getViewConfiguration(data:_) and you are not supposed to use it directly. Read more

2.6.3

10 Aug 15:25
Compare
Choose a tag to compare
  • Added several features to support cross-platform SDKs.

2.6.2

05 Jul 18:35
Compare
Choose a tag to compare
  • Fixed an issue that caused prices of StoreKit 2 transactions not to be sent to the backend in some cases in ObserverMode.

2.6.1

20 Jun 09:29
Compare
Choose a tag to compare
  • 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.

⚠️ Breaking changes:

  • 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 called setVariationId(_:forPurchasedTransaction:_:)
  • The .makePurchase method now returns AdaptyPurchasedInfo (which includes a purchased transaction) instead of AdaptyProfile.
  • The AdaptyDelegate method .shouldAddStorePayment(for:defermentCompletion:) now awaits AdaptyPurchasedInfo in the completion block.
  • Added a method for StoreKit receipt fetching: .getReceipt().

2.5.1

20 Jun 10:04
Compare
Choose a tag to compare
  • 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

⚠️ Breaking changes:

  • 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 of AdaptyPaywallProduct. 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.

2.6.0

14 Jun 16:31
Compare
Choose a tag to compare

Please, do not update to this version, use 2.6.1 instead!