Skip to content

Add support for intro offer eligibility override in non-cec mode#6748

Merged
fire-at-will merged 2 commits into
mainfrom
jwt-intro
May 7, 2026
Merged

Add support for intro offer eligibility override in non-cec mode#6748
fire-at-will merged 2 commits into
mainfrom
jwt-intro

Conversation

@MarkVillacampa

@MarkVillacampa MarkVillacampa commented May 7, 2026

Copy link
Copy Markdown
Member

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-android and hybrids

Motivation

Description


Note

Medium Risk
Touches the purchase parameter plumbing for StoreKit 2 purchases; mistakes could change purchase behavior or option sets on supported OS versions. Scope is small and mostly gated by availability/compiler checks.

Overview
Adds support for passing a developer-provided introductoryOfferEligibilityJWS through PurchaseParams in non ENABLE_CUSTOM_ENTITLEMENT_COMPUTATION builds, instead of being limited to CEC-only compilation.

Updates PurchasesOrchestrator.purchase(params:) to always forward this JWS into the SK2 purchase path, and refreshes Swift/ObjC API surface + API tester coverage to exercise the new builder method under appropriate availability checks.

Reviewed by Cursor Bugbot for commit 2053f14. Bugbot is set up for automated code reviews on this repo. Configure here.

@MarkVillacampa MarkVillacampa requested a review from a team as a code owner May 7, 2026 17:43
@MarkVillacampa MarkVillacampa added the pr:feat A new feature label May 7, 2026

@fire-at-will fire-at-will left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@fire-at-will fire-at-will merged commit 1ba5bdb into main May 7, 2026
42 checks passed
@fire-at-will fire-at-will deleted the jwt-intro branch May 7, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants