Android 4.1 - #478
Open
eandreeva-twr wants to merge 6 commits into
Open
Conversation
Remove the google_odm_token provider from the docs — it was cut from the 4.1 release. Trim the 4.1 migration guide to default-behavior changes, breaking changes, and the promoted-purchase return: - drop the "Preload placements" section (additive feature, documented in ios-optimize-paywall-fetching instead) - drop the async-acceptance note (describes pre-existing behavior; it lives in attribution-integration) - drop the provider raw-value table, incl. the additive .custom constant, which is documented on the manual attribution page
Compared the public interface of AdaptySDK-iOS release/4.1.0 against tag 4.0.2 and filled in what the docs didn't cover: - Migration guide: fallback file format changed, so the file must be downloaded again. Follows the "Fallback files" pattern from the v4 guides. - Migration guide: the JSON-string overload of updateAttribution is removed from the public API, not renamed. - Migration guide: .custom is a new predefined provider; in 4.0 it was only reachable as a string literal. - Promoted purchases require iOS 16.4, and the subscription offer is only exposed on iOS 18.0+. Below 16.4 the delegate never fires. - preloadFlows/preloadOnboardings: document AdaptyError.preloadErrors for per-placement failures, narrow the default-audience fallback claim to timeouts and network errors, note the 1s loadTimeout floor. - get-pb-paywalls: add the customLayoutId parameter. - Keep version notes platform-agnostic in shared articles, and label the Swift snippet in user-acquisition.
Verified the public API of AdaptySDK-Android-UniversalDevtool release/4.1.0 against the shipped 4.0.1 tag, and covered the changes: - Adapty Attribution is opt-in via withAdaptyAttributionEnabled. - updateAttribution -> updateExternalAttribution, AdaptyAttributionSource -> AdaptyExternalAttributionProvider (new CUSTOM value), and appliedAttributionSources -> appliedExternalAttributionProviders. - Play Billing Library 7.0.0 -> 8.0.0. - restorePurchases succeeds when there is nothing to restore, so NO_PURCHASES_TO_RESTORE is deprecated. Expired subscriptions and consumed purchases now need an identified user. - customLayoutId on getFlowConfiguration. Not applicable to Android, unlike iOS 4.1: preloadFlows, the AdaptySubscriptionOfferType change, promoted purchases, and the fallback file format (CURRENT_FALLBACK_PAYWALL_VERSION is 10 in both versions). The MMP integration snippets for Android were still on the 3.x API, so they also move to the 4.x setIntegrationIdentifier form to compile.
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.
No description provided.