https://github.com/revenuecat/storekit2-demo-app
A demo app for the StoreKit2 blog post
https://github.com/revenuecat/storekit2-demo-app
Last synced: 11 months ago
JSON representation
A demo app for the StoreKit2 blog post
- Host: GitHub
- URL: https://github.com/revenuecat/storekit2-demo-app
- Owner: RevenueCat
- License: mit
- Created: 2022-09-01T19:28:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T10:10:19.000Z (about 2 years ago)
- Last Synced: 2024-12-13T05:36:11.027Z (over 1 year ago)
- Language: Swift
- Size: 104 KB
- Stars: 166
- Watchers: 6
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StoreKit 2 Demo app

## 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
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step1
2. Purchase products
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step2
3. Preparing for unlocking in-app features
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step3
4. Unlocking in-app features
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step4
5. Handling purchased products when offline
6. Restoring purchases
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step6
7. Sharing active purchases with extensions
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step7
8. Handling renewals, cancellations, billing issues, and more
9. Validating receipts
10. Support in-app purchases from App Store
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/StepByStepExamples/Step10
## Implementing StoreKit 2 with a server
- https://github.com/RevenueCat/storekit2-demo-app/tree/main/demoserver
## 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.