Skip to content

Android 4.1 - #478

Open
eandreeva-twr wants to merge 6 commits into
mainfrom
docs/android-4.1
Open

Android 4.1#478
eandreeva-twr wants to merge 6 commits into
mainfrom
docs/android-4.1

Conversation

@eandreeva-twr

Copy link
Copy Markdown
Collaborator

No description provided.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant