Skip to content

PurchaseKit v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@MrPalme MrPalme released this 17 Feb 07:56
· 16 commits to main since this release

🎉 Initial release

PurchaseKit is an app-agnostic StoreKit 2 backend as a Swift Package.

Highlights

  • StoreKit 2 product loading with caching (CachePolicy)
  • Purchase flow with verification + finishing transactions
  • Restore flow via AppStore.sync() and entitlement snapshot
  • Normalized entitlement model (EntitlementState) for feature gating
  • Type-erased options (AnyPurchaseOption) for stable delegate callbacks
  • Optional network awareness via NetworkService
  • SwiftUI-ready building blocks + ObservableObject state
  • Apache-2.0 licensed

Requirements

  • iOS 16+
  • Swift Package Manager
  • StoreKit 2

Language / Localization

PurchaseKit ships with Localizable.xcstrings:

  • English (en)
  • German (de)
  • You can override all strings in the host app by providing the same keys in your own localization files.

Notes

  • API may evolve until v1.0.0 (breaking changes possible in minor versions).