Releases: adaptyteam/AdaptySDK-Flutter
Releases · adaptyteam/AdaptySDK-Flutter
2.6.0
- [Android] Support for Google Billing Library v5+. Read more
- [iOS] Since this version, the Adapty SDK will observe StoreKit 2 transactions, which will be helpful if you are using observer mode
- The
offerId
property has been added to theAdaptyAccessLevel
andAdaptySubscription
entities inAdaptyProfile
- We have renamed
AdaptyAndroidSubscriptionUpdateProrationMode
toAdaptyAndroidSubscriptionUpdateReplacementMode
- Introduced a new functionality for retrieving introductory offers eligibility using StoreKit 2. 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 AdaptyEligibility.unknown
was replaced with.notApplicable
(for products that cannot contain offers)AdaptyPaywallProduct
now has a unified structure for both systems- Introducing
AdaptyPrice
structure. Migrate as follows:product.price
->product.price.amount
product.localizedPrice
->product.price.localizedString
product.currencyCode
->product.price.currencyCode
product.currencySymbol
->product.price.currencySymbol
- Introducing
AdaptySubscriptionDetails
structure. Migrate as follows:product.subscriptionPeriod
->product.subscriptionDetails.subscriptionPeriod
product.localizedSubscriptionPeriod
->product.subscriptionDetails.localizedSubscriptionPeriod
- Introducing
AdaptySubscriptionPhase
structure instead ofAdaptyProductDiscount
. Phase represents either Introductory period (product.subscriptionDetails.introductoryOffer
) or Promo period (product.subscriptionDetails.promotionalOffer
). Migrate as follows:product.freeTrialPeriod
-> look intopaymentMode
andsubscriptionPeriod
properties ofAdaptySubscriptionPhase
product.localizedFreeTrialPeriod
-> look intolocalizedSubscriptionPeriod
property ofAdaptySubscriptionPhase
- Other migration notes:
product.promotionalOfferEligibility
->product.subscriptionDetails.promotionalOfferEligibility
product.promotionalOfferId
->product.subscriptionDetails.promotionalOfferId
product.variationId
->product.paywallVariationId
Full Changelog: 2.4.4...2.6.0
2.4.4
2.4.3
- [iOS] Improved variation_id delivery mechanism when validating purchases (iOS 2.4.4)
- [iOS] Improved mechanism for Usage Logs collection (iOS 2.4.5)
- [iOS] Fixed a bug which caused wrong error codes from StoreKit to be passed to the cross platform SDKs (iOS 2.4.5)
2.4.2
2.4.1
2.4.0
- Changed the logic of working with fallback paywalls - now the SDK will not wait for the creation of a profile
- Added an option to set
airbridgeDeviceId
to user profile - The logging system has been improved: all requests and responses from the server are now logged in verbose mode, and the computation required for logging has been optimized
- Increased the length and number of custom attributes
2.3.1
2.3.0
- Added an option to specify the paywall locale.
❗️Please note that you should enable this feature in the dashboard, in other case the SDK will not receive any values forremoteConfig
- [iOS] updated dependency to 2.3.3
- [Android] updated dependency to 2.3.1