Repository navigation
feat(v2.3): Part C — Settings IAP + HomeView 5th card + boot order - #84
Merged
Merged
Conversation
v2.3.6 — Settings IAP + HomeView Remove Ads card - NEW SudokuUI/Components/MonetizationStateController.swift (~133 lines) @observable @mainactor shared controller. State: hasPurchasedRemoveAds, availableProducts, purchaseInFlight, restoreInFlight, latestMessage. bootstrap() reads from AdGateStateStore + IAPClient.availableProducts. purchaseRemoveAds() / restorePurchases() shared by Settings rows + HomeView 5th card. On success: AdGate.recordPurchase() so banner suppression aligns immediately. - SettingsView: new Section with RemoveAdsRow (unpurchased only) + RestorePurchasesRow (always). Spinner during in-flight; Label result. - HomeView: 5th RemoveAdsCard (unpurchased only), difficulty.medium clay accent (commerce intent per PR #78 tokens). - RootView / RouteFactory threaded with monetizationController. v2.3.7 — Boot order: UMP → ATT → AdMob init - NEW AppMonetizationKit/AdsAdMob/MonetizationBootCoordinator.swift (~144 lines): public actor + closure-based MonetizationBootBridges seam. Live wiring calls UMPConsentPresenter → ATTPresenter → adProvider sequentially; each step independent, throws never abort sequence. - AppComposition.bootMonetization() with Telemetry fan-out logging. - SudokuApp.swift root scene .task wires the boot. Tests +22 (11 SettingsIAPRow + 4 HomeViewRemoveAdsCard + 7 BootOrder). Filtered: 25/25 green. Build clean. 3 new snapshot baselines auto-recorded. §未決 (impl-notes) - Toast surface deferred (Form Label for now) - purchaseUpdates() out-of-band refund subscription deferred - removeAdsProductId duplicated SudokuUI↔IAPStoreKit2 (frozen MonetizationCore) - iPad/macOS Settings snapshot coverage 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.
v2.3.6 + v2.3.7 — final Sudoku v2 wiring before TestFlight.
Summary
MonetizationStateController(@observable @mainactor) — shared purchase state for Settings + HomeViewRemoveAdsCard(unpurchased, difficulty.medium tint per feat(design-system): add difficulty tokens + DailyHub/Practice UI rollout #78)MonetizationBootCoordinatoractor (AdsAdMob) — UMP → ATT → AdMob init; independent failuresAppComposition.bootMonetization()+SudokuApp.task wiringVerification
§未決
After this lands