Dev Tools · 2h ago
StoreKit 2 Subscription Manager with Screenshot Mode Bypass
A developer shares a StoreKit 2 subscription manager for iOS apps that includes a screenshot mode to capture paid screens without a live purchase. The manager uses async/await and SwiftUI's @Observable for reactive entitlement checks. The screenshot mode deliberately bypasses purchase verification for App Store screenshots.
Meridian48 take
The screenshot bypass is a pragmatic developer hack, but it highlights a tension between testing convenience and purchase integrity that could lead to accidental leaks in production.
Read the full reporting
StoreKit 2 subscriptions + a screenshot mode that bypasses purchases →
DEV Community
storekit-2ios-development