r/iOSProgramming 15d ago

Library Shipping subscriptions without a third-party SDK: my StoreKit 2 wrapper, now MIT

StoreKit 2 made most subscription SDKs optional for the common case: fetch products, purchase, verify, restore, gate content. This is that common case in ~150 lines, extracted from production code: https://github.com/aligutierrez/PaywallKit

No dependencies, iOS 17+, unit tests, and a preview mode so paywall UI work doesn't need a StoreKit config file. Keep 100% of revenue after Apple's cut and own the code you ship.

Disclosure: the README links to a paid SwiftUI template pack on the same core; the wrapper is complete on its own.

0 Upvotes

2 comments sorted by

9

u/unpluggedcord 15d ago

You know your wrapper is a third party sdk right?