Skip to content

4.3.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@x401om x401om released this 18 Nov 13:55

Adapty Unity SDK 4.3.0-beta.1 brings the 4.3 natives to Unity: commitment subscriptions, flows that can be kept and shown again, preloaded flows, and store messages you show when you choose.

📋 Before you upgrade

  • Unity 6.0 (6000.0) is now the minimum. Projects on 2022.3 stay on 4.1.x.
  • Installing from .unitypackage: delete Assets/AdaptySDK/Plugins/Android/Local before importing. A .unitypackage never removes files, and the Java wrapper it held is no longer shipped.

⚠️ Breaking

  • Adapty.GetLogLevel is removed. The level is the one you set with AdaptyConfiguration.Builder.LogLevel or Adapty.SetLogLevel.
  • [Android] The Java wrapper (com.adapty.unity.*) is no longer shipped.
  • [Android] Google Play in-app messages, such as payment decline notices, are now shown automatically each time an activity starts. To keep the previous behavior, activate with AdaptyStoreMessagesHandling.Manual; on iOS 16+ that also holds App Store messages until you call Adapty.ShowStoreMessages.
  • [Android] Whole-number parameters of FlowViewDidReceiveAnalyticEvent arrive as long instead of double.

✨ Added

  • [iOS] Commitment subscriptions: AdaptySubscription.PricingTerms describes the billing plan, each payment and the commitment, and MakePurchase buys on the plan the product was offered on. Needs iOS 26.4+ and Xcode 26.5+.
  • BillingPlan and CommitmentInfo on AdaptyProfile.AccessLevel and AdaptyProfile.Subscription.
  • AdaptyFlow.VariationName.
  • A dismissed flow view can be kept: AdaptyUI.DismissFlowView(view, destroy: false), then Present again, and AdaptyUI.DestroyFlowView to release it.
  • Adapty.PreloadFlows and Adapty.PreloadFlowsForDefaultAudience.
  • Store messages can be held and shown later: AdaptyStoreMessagesHandling.Manual and Adapty.ShowStoreMessages; on iOS 16+, Adapty.GetPendingStoreMessageTypes and ShowStoreMessages(iosFilter, ...).
  • [iOS] Adapty.ReportTransaction takes the StoreKit 2 JWS in Observer mode.
  • Flows: product texts can show the installment price and period of a commitment plan.

🐛 Fixed

  • [Android] With GameActivity as the entry point (the default for new Unity 6 projects), completion handlers and events never reached C#.
  • [Android] Loading a placement could outlast its loadTimeout on a slow backend.
  • [Android] A permission respond or an Observer mode report made off Unity's thread waited until the flow on screen closed.
  • [Android] ReportTransaction in Observer mode could fail to link the transaction to the given variationId, and failed with NoPurchasesToRestore when there was nothing to restore.
  • [iOS] Crashes in flows: choosing an A/B test variation, the same product on several screens, an out-of-range date picker, NaN in a flow script.
  • Flows: rendering fixes on both platforms.

📦 Installation

https://github.com/adaptyteam/AdaptySDK-Unity.git?path=/Packages/com.adapty.unity-sdk#4.3.0-beta.1

Native dependencies: AdaptySDK-iOS 4.3.2, AdaptySDK-Android 4.3.4, cross-platform contract 4.3.2.

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

Full Changelog: 4.1.2...4.3.0-beta.1