Swift package providing a Hotwire Native bridge component for StoreKit purchases via PurchaseKit.
Add the package to your Xcode project via Swift Package Manager:
https://github.com/purchasekit/purchasekit-ios
Register the bridge component with Hotwire Native:
import PurchaseKit
Hotwire.registerBridgeComponents([
PaywallComponent.self
])The component automatically listens for StoreKit transactions and finishes them immediately. PurchaseKit handles fulfillment via webhooks.
Use the purchasekit gem to add the paywall to your Rails app. The gem handles all communication with the native component automatically.
- iOS 16.0+
- Xcode 15.0+
- Hotwire Native iOS 1.2.0+
bin/release 1.2.0This bumps the version in Sources/Version.swift, commits, tags, and pushes. Swift Package Manager picks up the new version automatically from the git tag.