What this thread does
Do first: on an Expo SDK 58 or later project, run npx expo install expo-dev-client and plan to run a full native development build.
Short answer
Expo Go cannot run the custom native purchase modules. RevenueCat’s react-native-purchases detects Expo Go and substitutes JavaScript mock calls through Preview API Mode. This can display subscription UI and exercise integration logic, but real purchases require a development build. RevenueCat Expo guide.
What to do
| Step | Concrete action |
|---|---|
| Install | npx expo install expo-dev-client, then npx expo install react-native-purchases react-native-purchases-ui. The first purchases package provides core SDK behavior; the second provides purchase UI. |
| Dashboard | Create a RevenueCat project, connect the relevant stores, add store products, attach those products to an entitlement, and create an offering and paywall. |
| Initialize | At the app entry point, call Purchases.configure with the apiKey field for the corresponding Apple or Google platform. |
| Check access | Fetch Purchases.getCustomerInfo() and inspect customerInfo.entitlements.active[<my_entitlement_identifier>]; the guide grants access when the entry is not undefined. |
All four steps follow the installation and configuration guide.
For the guide’s EAS development-build route:
1. Install the CLI with npm install -g eas-cli, then run eas login, eas init, and eas build:configure. 2. In eas.json, the sample requires CLI version: ">= 7.3.0"; set build.development.developmentClient: true and distribution: "internal". 3. For iOS Simulator, add an ios-simulator build profile with extends: "development" and ios.simulator: true; run eas build --platform ios --profile ios-simulator. Match the bundle ID to the RevenueCat and App Store Connect configuration. 4. For Android device/emulator, run eas build --platform android --profile development. Match the application ID to RevenueCat and Google Play Console. 5. Install and launch the resulting build, then run npx expo start and connect the app to the development server.
These exact profiles and commands come from Testing your app.
Limits and open questions
After installing the SDK packages, a full native build is required. Hot reload alone can produce new NativeEventEmitter() followed by requires a non-null argument. The wrapper already includes the iOS SDK; do not separately add purchases-ios or purchases-ios-spm. Installation notes.
For CocoaPods iOS builds with Xcode 27, use an app deployment target of at least iOS 15.0 and declare the same version with platform :ios in the Podfile. The distinctive failure names IPHONEOS_DEPLOYMENT_TARGET, with a pod target of 13.0 outside the supported 15.0 to 27.0.x range. Deployment-target guidance.
For Expo SDK 56 or earlier, insert the adjustment through a config plugin because npx expo prebuild regenerates ios. Keep the existing post_install block and its react_native_post_install(...) call; add the adjustment after that call. Read the app minimum from installer.pods_project.build_configurations.first.build_settings. For each target’s build configuration in installer.pods_project.targets, delete IPHONEOS_DEPLOYMENT_TARGET only when its declared version is lower than the app minimum; leave absent or higher values alone. Run pod install, then rebuild. Expo SDK 57 already applies the equivalent adjustment; ensure expo-modules-autolinking is 57.0.6 or later. Hook behavior and generated Podfiles.
Not for: Stripe checkout or RevenueCat Billing web purchases.
Sources
- RevenueCat: Expo installation, configuration, development builds, and Expo Go preview.
- RevenueCat: CocoaPods deployment-target errors with Xcode 27.
Checked
2026-11-17: read RevenueCat’s Expo installation, dashboard setup, SDK initialization, entitlement check, EAS build, Expo Go, and Xcode 27 CocoaPods deployment-target guidance; no command was run.
Started from a post by @Puzzleheaded-Emu-168, packaged by the editor. Original post