Skip to content

Releases: adaptyteam/AdaptySDK-Flutter

2.6.0

10 Aug 19:58
Compare
Choose a tag to compare
  • [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 the AdaptyAccessLevel and AdaptySubscription entities in AdaptyProfile

⚠️ Breaking!

  • We have renamed AdaptyAndroidSubscriptionUpdateProrationMode to AdaptyAndroidSubscriptionUpdateReplacementMode
  • 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 of AdaptyProductDiscount. Phase represents either Introductory period (product.subscriptionDetails.introductoryOffer) or Promo period (product.subscriptionDetails.promotionalOffer). Migrate as follows:
    • product.freeTrialPeriod -> look into paymentMode and subscriptionPeriod properties of AdaptySubscriptionPhase
    • product.localizedFreeTrialPeriod -> look into localizedSubscriptionPeriod property of AdaptySubscriptionPhase
  • 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

01 Jun 17:06
Compare
Choose a tag to compare
  • Added hasViewConfiguration for AdaptyPaywall object

2.4.3

26 Apr 14:17
Compare
Choose a tag to compare
  • [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

14 Apr 20:22
Compare
Choose a tag to compare
  • [iOS] Redesigned analytics event system
  • [iOS] Added an option to activate usage logs
  • isOneTime property of AdaptyProfile.NonSubscription was deprecated, use isConsumable instead

2.4.1

17 Mar 16:09
Compare
Choose a tag to compare
  • [Android] fixed subscription change functionality

2.4.0

08 Mar 17:25
Compare
Choose a tag to compare
  • 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

21 Feb 14:35
Compare
Choose a tag to compare
  • [Android] updated dependency to 2.3.2

2.3.0

17 Feb 14:26
Compare
Choose a tag to compare
  • 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 for remoteConfig
  • [iOS] updated dependency to 2.3.3
  • [Android] updated dependency to 2.3.1

2.2.5

07 Feb 16:46
Compare
Choose a tag to compare
  • [iOS] Fixed a bug that caused a new anonymous user to be created when migrating from earlier versions of the SDK.

2.2.4

05 Jan 23:07
Compare
Choose a tag to compare
  • [iOS] Fixed didUpdateProfileStream serialization bug.