Skip to content

4.1.0

Latest

Choose a tag to compare

@x401om x401om released this 12 Aug 12:52

⚠️ Breaking

  • External attribution APIs are renamed. Adapty.updateAttribution(_:source:) is now
    Adapty.updateExternalAttribution(_:provider:), AdaptyAttributionSource is now
    AdaptyExternalAttributionProvider, and AdaptyProfile.appliedAttributionSources is now
    appliedExternalAttributionProviders. There are no deprecated aliases — the old names are gone.
    A .custom provider was added alongside the existing ones.
  • Adapty Attribution is now opt-in. Installation details are no longer collected unless you activate
    with .with(adaptyAttributionEnabled: true), so onInstallationDetailsSuccess /
    onInstallationDetailsFail will not fire until you do.
  • AdaptySubscriptionOfferType is now a RawRepresentable struct instead of an enum, so a switch
    over it needs a default branch. It gained .winBack.
  • The String-based overload of the external attribution API is no longer public.

✨ Added

  • StoreKit 2 promoted purchases: implement AdaptyDelegate.didReceivePromotedPurchase(_:) to receive
    an AdaptyPromotedProduct when a purchase is started from the App Store.
  • Adapty.preloadFlows(placementIds:) and Adapty.preloadOnboardings(placementIds:), plus their
    default-audience counterparts, warm placement caches before a screen is needed.
  • Custom layouts: AdaptyUI.getFlowConfiguration accepts a customLayoutId.
  • AdaptyTransactionOfferType for transaction-level offer types, including win-back offers.

❗️ Don't forget to update your local fallback file if needed.

Full Changelog: 4.0.3...4.1.0