Skip to content

4.1.0

Choose a tag to compare

@kupriyanovNik kupriyanovNik released this 23 Sep 08:42
4d17c5d

⚠️ Breaking Changes

👉 See the migration guide for the full details.

  • External attribution APIs are renamed, with no deprecated aliases: .updateAttribution() is now .updateExternalAttribution(), AdaptyAttributionSource is now AdaptyExternalAttributionProvider, and AdaptyProfile.appliedAttributionSources is now appliedExternalAttributionProviders.
  • Adapty Attribution is now opt-in: installation details are collected, and the installation details streams emit, only if you activate with .withAdaptyAttributionEnabled(true) on your AdaptyConfiguration.

🚀 New

  • AdaptyExternalAttributionProvider ships appleAds, adjust, appsflyer, branch, tenjin, and custom.
  • [iOS] Promoted in-app purchases reach your app. A purchase started from your App Store product page arrives on Adapty().didReceivePromotedPurchaseStream; complete it with .makePromotedPurchase(). While nothing is subscribed to that stream, the SDK completes the purchase itself. Requires iOS 16.4 or later.
  • AdaptyUI.dismissFlowView and AdaptyUIFlowView.dismiss accept destroy: false to keep the view alive after dismissing it: presenting it again resumes on the screen the user left. The default destroy: true releases the view as before.

🩹 Fixed

  • Fixed custom color and gradient assets on both platforms.
  • [iOS] preloadProducts had no effect on AdaptyUI.createFlowView.
  • [iOS] Numeric parameters of flow analytic events reach flowViewDidReceiveAnalyticEvent as numbers; before, every 0/1 arrived as false/true.

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

Full Changelog: 4.0.4...4.1.0