Storekit2 Iap Defaults

Default StoreKit 2 architecture for a single non-consumable IAP (Remove Ads, Pro Unlock): `StoreKitBridge` isolates `import StoreKit` to one Live file; launch-time `Transaction.updates`; `Transaction.currentEntitlements` for unlock state; `finish()` timing; `AppStore.sync()` restore; `.storekit` + Fake-bridge test seam. Invoke when adding IAP, wiring StoreKit 2, or asked "how do I unlock a purchase / restore purchases / test IAP". Does NOT cover subscriptions or ad SDKs.

wei18 c11c3d8 9.8 KB Updated

File contents

wei18/apple-dev-skills/tree/main/apple-dev-skills/skills/storekit2-iap-defaults commit c11c3d8fa7

Frequently asked questions

npx skillmds@latest add wei18/storekit2-iap-defaults