Axiom IAP Implementation for StoreKit 2
Automates the creation of production-ready in-app purchases and subscriptions using Apple's StoreKit 2 framework.
This skill streamlines the complex process of integrating Apple's StoreKit 2 into xOS applications by providing a structured, testing-first workflow. It guides developers through creating essential StoreKit configuration files, implementing a centralized StoreManager with robust transaction listeners, handling purchase and subscription flows, and ensuring compliance with App Store requirements like purchase restoration and refund handling. By following this battle-tested pattern, developers can avoid common pitfalls such as unfinished transactions or missing restore functionality.
Key Features
01Automated StoreKit configuration file generation and setup
02Centralized StoreManager with robust transaction listener logic
03925 GitHub stars
04Built-in purchase verification and entitlement tracking
05Support for consumables, non-consumables, and complex subscriptions
06Ready-to-use Restore Purchase logic and UI implementation patterns
Use Cases
01Migrating legacy StoreKit 1 codebases to modern StoreKit 2 and Swift Concurrency
02Adding a multi-tier 'Pro' subscription to an iOS or iPadOS application
03Implementing virtual currency or consumable items for mobile games