Sample Apps

Example usage of the Purchases SDK

Sample apps are currently included in each Purchases SDK repository and demonstrate how to integrate the SDK in your own apps.

Platforms

Swift

Installation | Sample App | App Extensions (e.g. widgets)
Native Swift example. Hosted in our iOS Purchases SDK GitHub repository

SwiftUI

Installation | Sample App
SwiftUI example. Hosted in our iOS Purchases SDK GitHub repository

Kotlin

Installation | Sample App
Kotlin Android example. Hosted in our Android Purchases SDK GitHub repository

Java

Installation | Sample App
Java Android example. Hosted in our Android Purchases SDK GitHub repository

Flutter

Installation | Sample App
Hybrid platform example. Hosted in our Flutter Purchases SDK GitHub repository

React Native

Installation | Sample App
Hybrid platform example. Hosted in our React Native Purchases SDK GitHub repository

Cordova

Installation | Sample App
Hybrid platform example. Hosted in our Cordova Purchases SDK GitHub repository

Unity

Installation
How to install the Unity Purchases SDK

Stripe

Stripe Checkout Example
This sample project demonstrates how to use Stripe Checkout and webhooks to send purchase data to RevenueCat.