Repository navigation
feat(v2): AppMonetizationKit foundations — Phase v2.0 - #58
Merged
Merged
Conversation
Phase v2.0 complete. AppMonetizationKit package with MonetizationCore protocols + Testing fakes + AdGate frequency logic. 36 tests, 0 warnings, Swift 6 strict. - MonetizationCore (zero external dep): AdProvider / IAPClient protocols, AdGate actor with 7-day grace + 1/day max + dismissed-skip policy, AdGateState Codable, AdGateStateStore protocol, AdPresentationAnchor cross-platform wrapper. - AdsAdMob + IAPStoreKit2: anchor-only (impl in v2.1 / v2.2). - MonetizationTesting: scriptable Fake actors for all 3 protocols. §未決 (4 follow-up items in impl-notes): 1. design.md §How.3 says @mainactor actor AdGate — Swift contradiction; impl dropped @mainactor. 2. recordRefund() deferred to v2.1 IAPPurchaseEvent.revoked handler. 3. firstLaunchAt seeding is LiveMonetizationStateStore's job (v2.3). 4. AdPresentationAnchor uses @unchecked Sendable; invariant documented. File-level swiftlint disables added for test fixture files using short locals + Package.swift trailing commas (same pattern as ASCRegister). impl-notes: meetings/2026-05-21_v2.0-monetization-kit-foundations.impl-notes.md
wei18
added a commit
that referenced
this pull request
May 23, 2026
Tuist StoreKit (Project.swift): adds RunActionOptions.storeKitConfigurationPath pointing at App/Resources/Sudoku.storekit. tuist generate now writes StoreKitConfigurationFileReference into Sudoku.xcscheme — no manual Xcode Scheme editor step per clone (task #58). Resolves v2.4-2.5-prep §未決 #1. ASC App Privacy handoff (docs/v2/v2.5-readiness.md): research subagent confirmed App Store Connect REST API has NO endpoint for the App Privacy questionnaire. Fastlane workarounds require Apple-ID session cookies (security downgrade vs .p8 JWT). Added manual handoff section with: - ASC navigation path + URL pattern - Field-by-field checklist matching PrivacyInfo.xcprivacy - Re-trigger conditions - Both en + zh-Hant ASC labels References: - meetings/2026-05-23_tuist-storekit-scheme.impl-notes.md - meetings/2026-05-23_asc-app-privacy-api-research.impl-notes.md Co-authored-by: Claude Opus 4.7 <[email protected]>
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.
Phase v2.0 of docs/v2/plan.md — 5 steps in 1 PR.
Package skeleton + MonetizationCore protocols + Testing fakes + AdGate frequency logic. 36/36 tests, 0 warnings, Swift 6 strict.
§未決 (4 items in impl-notes): design.md §How.3 @mainactor contradiction; recordRefund() to v2.1; firstLaunchAt to v2.3; AdPresentationAnchor @unchecked invariant.
🤖 Claude Code