What you get
This gives you in-app subscriptions on both stores through RevenueCat: src/lib/payments.ts implements the shim on react-native-purchases, a PaymentsProvider (order 70) keeps the RevenueCat app user id on the signed-in user and listens for customer-info changes, and /paywall ships as a modal with your feature bullets, the current offering's packages and prices, Buy, the store's renewal terms, "Compare all plans", Restore, and Terms/Privacy links from readynative.config.ts urls. If you set up with --with-examples there's an example at /examples/paywall and jest mocks for both native packages. @/lib/payments keeps the same API whichever option you pick - pick RevenueCat when you want StoreKit and Play Billing handled for you, plus remote paywalls you can edit without shipping an update.
- Screens added
/paywall/- Tests included
- 1
- npm packages
react-native-purchases ^10.10.1,react-native-purchases-ui ^10.10.1- Runs in Expo Go
- No - needs a development build
Which tier includes it
Pro. Payments is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates. See pricing.
What needs a key
| Key | Where it goes | Required |
|---|---|---|
EXPO_PUBLIC_REVENUECAT_IOS_KEY | App (.env) | Yes |
EXPO_PUBLIC_REVENUECAT_ANDROID_KEY | App (.env) | Yes |
Set it up
bun run setup --payments revenuecat- RevenueCat: create a project at https://app.revenuecat.com, add an App Store app (bundle id from readynative.config.ts) and a Play Store app (package name).
- RevenueCat: copy the public SDK keys (Project settings → API keys) into .env as EXPO_PUBLIC_REVENUECAT_IOS_KEY / EXPO_PUBLIC_REVENUECAT_ANDROID_KEY.
- RevenueCat: create Products (App Store Connect / Play Console product ids), an Entitlement (e.g.
pro) and an Offering marked as current;/paywalllists the current offering's packages. - react-native-purchases is a native module: make a dev build with
npx expo run:ios/npx expo run:android(oreas build --profile development). Expo Go will not load it.
Then bun run doctor lists any key still missing, with a link to where you get it. The full guide: RevenueCat docs.
Pairs with
- Supabase Auth, Clerk, Better Auth: With an auth module, the RevenueCat app user id follows the signed-in user, so purchases follow the account across devices.
Read more
- Expo + RevenueCat: how it compares
- RevenueCat setup guide (docs)
- RevenueCat subscriptions in an Expo Router app
- Expo Go vs development build: when to switch
- Example apps built on the modules
- Every module in the catalog
Questions
Which ReadyNative tier includes RevenueCat?
Pro. Payments is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates.
Does RevenueCat run in Expo Go?
No: dev build required (no Expo Go). Make a development build: npx expo run:ios or npx expo run:android locally, or eas build --profile development in the cloud.
Which keys does RevenueCat need?
In the app's .env: EXPO_PUBLIC_REVENUECAT_IOS_KEY, EXPO_PUBLIC_REVENUECAT_ANDROID_KEY. bun run doctor lists any that are missing.
Can I switch from RevenueCat to another option later?
Yes. @/lib/payments keeps the same API in every payments option (RevenueCat, Adapty and Stripe Checkout), so screens written against it keep working when you switch.
Does the paywall work before I design one in RevenueCat?
Yes. payments.presentPaywall() shows the paywall designed in the RevenueCat dashboard when there is one, and falls back to the bundled /paywall route when there is not.
Can I test purchases in a simulator?
Purchases only work on a real device signed into a sandbox tester (App Store Connect) or a license tester (Play Console). The setup steps say where to add both.