Installing the SDK
RevenueCat Paywalls are included as part of the RevenueCatUI package in the RevenueCat SDK. You'll need to install the RevenueCatUI package in your project to use Paywalls.
๐Paywalls v2 Beta
These docs refer to our beta of Paywalls v2. For installation requirements of original Paywalls which already support iOS, Android, React Native, Flutter, and KMP, click here.
Supported SDK versionsโ
RevenueCat SDK | Version required for Paywalls v2 |
---|---|
purchases-ios | 5.16.0 and up |
purchases-android | Coming soon |
react-native-purchases-ui | Coming soon |
purchases-flutter | Coming soon |
purchases-kmp | Coming soon |
๐
Within the SDKs, Paywalls are available on iOS 15.0+, with additional platforms coming soon.
Native iOS Installationโ
Using SPM:โ
If you already have RevenueCat
in your project:โ
- Open your project settings and select "Package Dependencies":
- Make sure version is at least
5.16.0
:
- Open your target settings and find "Frameworks, Libraries, and Embedded Content":
- Add
RevenueCatUI
:
First time integrating the RevenueCat SDK:โ
-
Click File -> Add Packages...
-
Search for
git@github.com:RevenueCat/purchases-ios.git
and make sure version is at least5.16.0
:
- Add
RevenueCat
andRevenueCatUI
SPM dependency to your project:
Using CocoaPods:โ
Add the following to your Podfile
:
pod 'RevenueCat'
pod 'RevenueCatUI'