Skip to content

feat(v2.4): PrivacyInfo manifest + privacy-policy AdMob/IAP section - #62

Merged
wei18 merged 1 commit into
mainfrom
feat/v2.4-part-1-privacy
May 21, 2026
Merged

wei18 merged 1 commit into
mainfrom
feat/v2.4-part-1-privacy

Conversation

@wei18

@wei18 wei18 commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • App/Resources/PrivacyInfo.xcprivacy: flip NSPrivacyTracking → true, add 8 AdMob tracking domains (googleadservices.com, googlesyndication.com, doubleclick.net, google-analytics.com, googletagmanager.com, googletagservices.com, 2mdn.net, app-measurement.com), declare OtherUsageData collection with Tracking=true/ThirdPartyAdvertising purpose, declare UserDefaults API access with reason CA92.1
  • docs/privacy-policy.md: bilingual §廣告與 IAP (v2+) section covering AdMob IDFA / ATT / UMP behavior and StoreKit 2 IAP scope; intro banner + dated 2026-05-21
  • Refs docs/v2/plan.md v2.4 Part 1

§未決 / Follow-ups

  1. AdMob tracking-domain list is a 2026-05-21 snapshot — review on each Google Mobile Ads SDK bump
  2. PrivacyManifestTests deferred to v2.4 Part 1b (avoids racing with v2.3 Part A's SudokuKit edits)
  3. GitHub Pages hosting of privacy-policy.md — backlog
  4. ATT / UMP app-side strings — owned by v2.3.7

Verification

  • plutil -lint App/Resources/PrivacyInfo.xcprivacy → OK
  • lefthook hygiene + gitleaks ✔︎ (no swiftlint files in scope)

Test plan

  • App store privacy nutrition labels updated post-merge to match OtherUsageData + third-party advertising disclosure
  • ASC privacy questionnaire reviewed against new tracking declaration

🤖 Generated with Claude Code

- PrivacyInfo.xcprivacy: NSPrivacyTracking=true, 8 AdMob tracking domains,
  OtherUsageData (Tracking=true, ThirdPartyAdvertising), UserDefaults CA92.1
- docs/privacy-policy.md: bilingual §廣告與 IAP (v2+) section covering AdMob
  IDFA/ATT/UMP behavior + StoreKit 2 IAP scope
- plutil -lint: OK

Refs v2.4 Part 1.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit 020ef68 into main May 21, 2026
@wei18
wei18 deleted the feat/v2.4-part-1-privacy branch May 21, 2026 08:18
wei18 added a commit that referenced this pull request May 21, 2026
…ng (#71)

v2.3.1 — MonetizationStateStore + CloudKit Private impl
- NEW Persistence/MonetizationStateStore.swift (typealias to AdGateStateStore)
- NEW Persistence/Live/LiveMonetizationStateStore.swift (actor; CloudKit
  Private record "MonetizationState" in userZone; first-launch seeding
  bootstraps firstLaunchAt → resolves audit B2)
- LivePersistence: +monetizationStateStore() lazy factory
- PrivateCKGateway: +monetizationStateRecordType constant
- +8 tests (round-trip, seeding, nil-optionals, Codable, payload shape)

v2.3.2 — AppComposition wiring
- Package.swift: +AppMonetizationKit local dep on 4 sub-products
- Project.swift: +package + 3 product links on App target
- AppComposition: +3 monetization deps + routeFactory (9-arg init)
- Live.swift: wires LiveMonetizationStateStore → AdGate → LiveAdMobAdProvider
  + LiveStoreKit2IAPClient + LiveRouteFactory
- Preview.swift: Fake* harness for previews/tests
- SudokuApp.swift: RootView call shrunk to 2 args
- CompositionTests: +2 tests (monetization deps + routeFactory wired)

v2.3.3 — RouteFactory promotion
- NEW SudokuUI/Navigation/RouteFactory.swift (protocol + LiveRouteFactory)
- RootView.init: 5 args → 2 args (viewModel + routeFactory)
- +6 RouteFactoryTests (one per AppRoute case)
- RootViewTests: signature update + makeTestRouteFactory() helper

Plus PrivacyManifestTests updated for v2 manifest state (post #62):
- Renamed noThirdPartyTrackingDomains → adMobTrackingDeclared
- Assert tracking=true, 8+ domains, OtherUsageData/ThirdPartyAdvertising,
  UserDefaults API with reason CA92.1

Verification:
- swift build: clean (0 warnings on touched files)
- swift test --filter RouteFactory|MonetizationStateStore|Composition|Privacy:
  26/26 pass

Meeting logs:
- meetings/2026-05-21_v2.3-part-a-wiring.impl-notes.md (Part A delivery)
- meetings/2026-05-21_spec-drift-audit.impl-notes.md (Yellow, 2 S1)
- meetings/2026-05-21_appmonetizationkit-code-audit.impl-notes.md (Yellow,
  B1 only — B2 resolved by this PR)
- meetings/2026-05-21_app-icon-brand-audit.impl-notes.md (Yellow, 3 S1)
- meetings/2026-05-21_wave-3-issues-filed.impl-notes.md (#64–#69 filed)

Co-authored-by: Claude Opus 4.7 <[email protected]>
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