Documentation

New app setup

Use this path when you are starting from the PaywallReady Kit repo and replacing the demo with your own app.

1

Install dependencies and start the demo

bash

1npm install2npx expo start

Watch out

Expo Go is fine for checking the UI. Real purchases need a development build.
2

Add your RevenueCat SDK keys

.env

1EXPO_PUBLIC_REVENUECAT_IOS_API_KEY=appl_your_ios_sdk_key2EXPO_PUBLIC_REVENUECAT_ANDROID_API_KEY=goog_your_android_sdk_key3EXPO_PUBLIC_REVENUECAT_ENTITLEMENT_ID=pro

Use public SDK keys, not RevenueCat secret API keys.

3

Replace the demo screens gradually

  • Keep PaywallReadyProvider around your app.
  • Keep PaywallScreen until your own paywall is ready.
  • Use PremiumGate around the first paid feature.
  • Remove demo screens only after your own paid flow works.