• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 2 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A demo app for the StoreKit2 blog post

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.

More Repositories

1

purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
Swift
2,286
star
2

react-native-purchases

React Native in-app purchases and subscriptions made easy. Support for iOS and Android.
TypeScript
727
star
3

purchases-flutter

Flutter plugin for in-app purchases and subscriptions. Supports iOS, macOS and Android.
Dart
600
star
4

purchases-android

Android in-app purchases and subscriptions made easy.
Kotlin
246
star
5

purchases-capacitor

Capacitor in-app purchases and subscriptions made easy.
TypeScript
139
star
6

purchases-unity

Unity in-app purchases and subscriptions made easy.
C#
91
star
7

purchases-kmp

RevenueCat SDK for Kotlin Multiplatform
Kotlin
68
star
8

cordova-plugin-purchases

Cordova in-app purchases and subscriptions made easy.
TypeScript
58
star
9

iOS-Subscription-Testing

The ultimate guide to testing iOS subscriptions
50
star
10

firestore-revenuecat-purchases

TypeScript
24
star
11

purchases-hybrid-common

Common files for the Hybrid SDKs
Swift
21
star
12

meta-memcache-py

Modern, pure python, memcache client with support for new meta commands.
Python
20
star
13

receipt-proxy

A simple proxy for Apple's receipt verification endpoint.
JavaScript
16
star
14

purchases-ios-spm

This mirror of RevenueCat's iOS SDK is optimized for integrating via SPM.
Swift
7
star
15

purchases-js

TypeScript
5
star
16

revenuecat-docs

Repository to hold RevenueCat's docs. This repository syncs docs' contents with Readme.com
Ruby
3
star
17

conference-talks

The home for slides, code samples, and links to video records for conference talks given by RevenueCat.
Swift
2
star
18

Dangerfile

RevenueCat's Danger file. Used for checking PRs on SDK projects. Used together with Danger. More info can be found here: http://danger.systems.
Ruby
1
star
19

rc-injector

Python dependency injector
Python
1
star
20

sdks-circleci-orb

A reusable package of YAML configuration for CircleCI.
Shell
1
star
21

unity-iap-observermode-sample

This repository holds a simple sample (mainly used for testing) Unity IAP app that works with purchases-unity in observer mode
C#
1
star
22

fastlane-plugin-revenuecat_internal

This repo contains shared fastlane automation logic used internally by RevenueCat's repos
Ruby
1
star
23

revenuecat-content-guide

The repository hold the Content Guide use for writing technical content
1
star
24

purchases-ios-docs

Hosts docs for purchases-ios
1
star
25

DroidconPaywallExample

This repository contains a simple paywall to demonstrate BL4 -> BL5 migration
Kotlin
1
star
26

react-native-purchases-docs

Documentation for react-native-purchases
1
star