/storekit-2-demo-app

Demo-app for the complete tutorial on how to implement on-device subscriptions. Built with StoreKit2 + Swift (SwiftUI)

Primary LanguageSwift

Implement On-Device Subscriptions with StoreKit 2 in Swift

1*E32343VqapYGpijcU7J3og

This repository is paired with the complete tutorial about how to implement Inn-App Subscriptions using Swift and StoreKit2 (Serverless).

You can find the tutorial HERE

🎥 - Video demonstrations of the app

Here is a breakdown of what we will implement:

  • List products
  • Purchase products
  • Unlock features for active subscriptions and lifetime purchases
  • Handle renewals, cancellations, and billing errors
  • Validate receipts

Disclaimer

This sample app was designed to follow the blog post and provide as much succinctness and readability as possible. There will be different (and maybe better) ways to implement these steps for your own app.