Navigation Menu

Skip to content

RevenueCat/storekit2-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoreKit 2 Demo app

iOS In-app Subscription Tutorial with StoreKit 2 and Swift_iOS In-app Subscription Tutorial with StoreKit 2 and Swift (1)

Implementing On-Device Subscriptions with StoreKit 2 in Swift

These steps pair with the blog post. Not every step has a code change involved which is why it appears some steps are missing.

Each step has its own individual Xcode project and runs using a StoreKit Configuration File so no App Store Connect account or configuration is required.

  1. Listing products
  2. Purchase products
  3. Preparing for unlocking in-app features
  4. Unlocking in-app features
  5. Handling purchased products when offline
  6. Restoring purchases
  7. Sharing active purchases with extensions
  8. Handling renewals, cancellations, billing issues, and more
  9. Validating receipts
  10. Support in-app purchases from App Store

Implementing StoreKit 2 with a server

Disclaimer

These sample apps were 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.