Skip to main content
In-App Purchases
We are using RevenueCat to handle in-app purchases.
First, you need an Apple Developer & Google Play Developer Account to setup in-app purchases.

Setup

1
First, go to RevenueCat and create a account.
2
After you create your account, click on the Create Project button.
Create Project
3
After creating your project, you need to define your project name.
Define Your Name
4
Then, we are continuing with the tabs for platform-specific setup.
Create App
5
After completing two platform-specific setup, open your app/_layout.tsx file.
  • Add the RevenueCatProvider component.
6
Find the useEffect hook in the App component.
7
Wrap the RootLayout component with the RevenueCatProvider component.
8
Now you can use the useRevenueCat hook to get the RevenueCat instance.
9
You need to configure your subscriptions on Google Play Console and App Store Connect.
I could have added this step too, but this is too specific for your project.
10
Then we are ready to some sellings 🎉