StoreKitPlus adds extra functionality for working with StoreKit 2, like extensions, observable state, services, etc.
StoreKitPlus has an observable
StoreContext that lets you observe store state, a
StoreService protocol and a
StandardStoreService implementation that simplifies fetching, purchasing and syncing products, as well as a
ProductRepresentable protocol that lets you use local product representations in your app.
tvOS 15 and
The best way to add StoreKitPlus to your app is to use the Swift Package Manager.
StoreKitPlus also supports CocoaPods:
You can also clone the repository and build the library locally.
The online documentation has a guide to get started with StoreKitPlus.
The online documentation contains more information, code examples etc. and makes it easy to overview the various parts of the library.
The online documentation is currently iOS only. To generate documentation for other platforms, open the package in Xcode, select a simulator then run
This project currently has no demo app, since registering and testing real products requires setting up App Store Connect with your products.
Just let me know if you'd like a demo app, and I'll see if I can create an app that has a local StoreKit file and doesn't have to sync with App Store Connect.
You can sponsor this project on GitHub Sponsors or get in touch for paid support.
Feel free to reach out if you have questions or if you want to contribute in any way:
StoreKitPlus is available under the MIT license. See LICENSE file for more info.
|Last commit: 1 week ago|
This is a first beta release of StoreKitPlus.
This version introduces a bunch of types that makes it easier to work with StoreKit in an abstract, protocol-driven way.
StoreContextis a new, observable type.
StoreServiceis a new protocol for comunicating with StoreKit.
StandardStoreServiceis a new class for comunicating with StoreKit.
ProductRepresentableis a new protocol for providing local products.
ValidatableTransactionis a new protocol for transaction validation.