Skip to content

3.3.0

Compare
Choose a tag to compare
@x401om x401om released this 31 Dec 19:01
· 20 commits to main since this release

πŸŽ‰ Meet the Adapty Unity SDK 3.3.0!

With this version we're introducing support for the new paywall builder that offers more templates and layout flexibility. Note that:

  • This version doesn't support paywalls created in the legacy (current) paywall builder
  • But you can easily migrate those with a single press of a button in Adapty Dashboard
  • This version also offers complete support of StoreKit 2 and Swift 6 on the iOS side. See more here.
  • Added support for win-back offers. Read More.
  • You can also refer to our migration guide explaining how to migrate to Adapty 3.3.0 from earlier versions.

Major Changes

  • AdaptyUI merged into Adapty: Consolidated functionality for a more streamlined experience.

Breaking Changes

Renamed APIs

  • Adapty.sdkVersion β†’ Adapty.SDKVersion
  • Adapty.LogLevel β†’ AdaptyLogLevel
  • Adapty.Paywall β†’ AdaptyPaywall
  • Adapty.PaywallFetchPolicy β†’ AdaptyPaywallFetchPolicy
  • PaywallProduct β†’ AdaptyPaywallProduct
  • Adapty.Profile β†’ AdaptyProfile
  • Adapty.ProfileParameters β†’ AdaptyProfileParameters
  • ProfileGender β†’ AdaptyProfileGender
  • Error β†’ AdaptyError

Method Signature Changes

  • SetLogLevel now includes a callback.
  • UpdateAttribution signature updated for improved flexibility.
  • MakePurchase result handling has been modified.

Removed APIs

  • GetProductsIntroductoryOfferEligibility removed.
  • OnCancelPurchase removed from event handling.

Integration Updates

  • PresentCodeRedemptionSheet now supports a callback.
  • Methods for integration have been streamlined.

AdaptyUI-Specific Changes

Renamed Methods

  • CreatePaywallView β†’ CreateView (arguments updated).
  • PresentPaywallView β†’ PresentView.
  • DismissPaywallView β†’ DismissView.

Event Listener Merged

  • AdaptyUIEventListener merged into AdaptyEventListener.

Event Renames

  • OnPerformAction β†’ PaywallViewDidPerformAction.
  • OnSelectProduct β†’ PaywallViewDidSelectProduct (updated to use productId instead of product).
  • OnStartPurchase β†’ PaywallViewDidStartPurchase.
  • OnFinishPurchase β†’ PaywallViewDidFinishPurchase (updated to include purchasedResult instead of profile).
  • OnFailPurchase β†’ PaywallViewDidFailPurchase.
  • OnFinishRestore β†’ PaywallViewDidFinishRestore.
  • OnFailRestore β†’ PaywallViewDidFailRestore.
  • OnFailRendering β†’ PaywallViewDidFailRendering.
  • OnFailLoadingProducts β†’ PaywallViewDidFailLoadingProducts.

New Events

  • PaywallViewDidStartRestore added.

Class Renames

  • AdaptyUI.View β†’ AdaptyUIView.
  • AdaptyUI.Action β†’ AdaptyUIUserAction.

Additional Updates

New API

  • Activate added to improve initialization process.

Fallback Paywalls

  • SetFallBackPaywalls implementation updated.

Full Changelog: 2.9.0...3.3.0

--
You can also refer to our migration guide explaining how to migrate to Adapty 3.3.0 from earlier versions.