Unity SDK 4.1 - #509
Open
eandreeva-twr wants to merge 2 commits into
Open
Conversation
…s, promoted purchases Repurpose the Unity v4 migration guide to cover 3.x -> 4.1 in one pass (4.0 stays beta-only and is skipped), de-beta the installation article, and roll the SDK 4.1 changes through the Unity docs: UpdateExternalAttribution rename, SetAdaptyAttributionEnabled opt-in, required OnReceivePromotedPurchase listener method, and the fallback file format change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the Unity SDK 4.1 release — the first stable release of the 4.x line (4.0 shipped as beta only, so 3.x users migrate straight to 4.1).
Migration guide
migration-to-unity-sdk-v4.mdxis repurposed to cover the whole 3.x → 4.1 migration in one guide (filename and URL unchanged for SEO; title, hub label, and sidebar label now say v4.1). New on top of the existing flows content:#4.1.0tag /adapty-unity-plugin-4.1.0.unitypackage, with a pointer for 4.0-beta users to move off the pinned beta tagUpdateAttribution→UpdateExternalAttribution(source→provider),AppliedAttributionSources→AppliedExternalAttributionProviders; no deprecated aliases. The provider stays a plain string in C# and both the dictionary and JSON-string overloads remain — deliberately different from the iOS guide.SetAdaptyAttributionEnabled(true), with the silent-break warningOnReceivePromotedPurchase(plain-interface convention: compile break)Assets/StreamingAssets; skipping surfaces asDecodingFailed(2006) at runtimeOther articles
sdk-installation-unity: the "SDK 4.0 (beta)" install section becomes "SDK 4.1" (stable), and optional setup gains an "Enable Adapty Attribution" sectionunity-making-purchases: new "In-app purchases from the App Store" section — promoted purchases complete automatically; the required listener method andMakePromotedPurchaseare documented with a note that the SDK doesn't deliver promoted purchases to the C# callback yet (drop the note when the native pin moves past 4.1.0)IAdaptyEventListenernotes updated inunity-check-subscription-status,unity-listen-subscription-changes,implement-observer-mode-unity, and the installation articleUpdateExternalAttributionin the Adjust, AppsFlyer, Branch, and Tenjin integration articlesunity-sdk-call-orderrow 5, and remaining "4.0 (beta)" phrasings swept to 4.1Deliberately not rolled out from iOS 4.1
Verified against the Unity 4.1 public API surface: no
preloadFlows/preloadOnboardings, nocustomLayoutIdparameter, noAdaptySubscriptionOfferTypeenum→struct change, and the JSON-string attribution overload stays public — none of the corresponding iOS doc changes apply to Unity.Notes for review
4.1.0GitHub release, which 404s until the release is cut.whats-newis left for the release-day update.4.1.0release URL.