Repository navigation
4.3.0-beta.1
Pre-release
Pre-release
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: deleteAssets/AdaptySDK/Plugins/Android/Localbefore importing. A.unitypackagenever removes files, and the Java wrapper it held is no longer shipped.
⚠️ Breaking
Adapty.GetLogLevelis removed. The level is the one you set withAdaptyConfiguration.Builder.LogLevelorAdapty.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 callAdapty.ShowStoreMessages. - [Android] Whole-number parameters of
FlowViewDidReceiveAnalyticEventarrive aslonginstead ofdouble.
✨ Added
- [iOS] Commitment subscriptions:
AdaptySubscription.PricingTermsdescribes the billing plan, each payment and the commitment, andMakePurchasebuys on the plan the product was offered on. Needs iOS 26.4+ and Xcode 26.5+. BillingPlanandCommitmentInfoonAdaptyProfile.AccessLevelandAdaptyProfile.Subscription.AdaptyFlow.VariationName.- A dismissed flow view can be kept:
AdaptyUI.DismissFlowView(view, destroy: false), thenPresentagain, andAdaptyUI.DestroyFlowViewto release it. Adapty.PreloadFlowsandAdapty.PreloadFlowsForDefaultAudience.- Store messages can be held and shown later:
AdaptyStoreMessagesHandling.ManualandAdapty.ShowStoreMessages; on iOS 16+,Adapty.GetPendingStoreMessageTypesandShowStoreMessages(iosFilter, ...). - [iOS]
Adapty.ReportTransactiontakes 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
loadTimeouton a slow backend. - [Android] A permission
respondor an Observer mode report made off Unity's thread waited until the flow on screen closed. - [Android]
ReportTransactionin Observer mode could fail to link the transaction to the givenvariationId, and failed withNoPurchasesToRestorewhen 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,
NaNin 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