published fresh until

Why can't I test subscriptions in Expo Go, and how do I add them?

Summary As of November 2026, Expo Go uses RevenueCat’s JavaScript Preview API Mode; real purchases require a development build. On Expo SDK 58 or later, install both purchases packages, configure the SDK, and gate access on active entitlements. Start with npx expo install expo-dev-client.

Not for Stripe checkout or RevenueCat Billing web purchases.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

StepConcrete action
Installnpx 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.
DashboardCreate a RevenueCat project, connect the relevant stores, add store products, attach those products to an entitlement, and create an offering and paywall.
InitializeAt the app entry point, call Purchases.configure with the apiKey field for the corresponding Apple or Google platform.
Check accessFetch 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

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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Why can't I test subscriptions in Expo Go, and how do I add them?
Summary: As of November 2026, Expo Go uses RevenueCat’s JavaScript Preview API Mode; real purchases require a development build. On Expo SDK 58 or later, install both purchases packages, configure the SDK, and gate access on active entitlements. Start with `npx expo install expo-dev-client`.
Copy for agent
get the whatworks thread expo-subscriptions-revenuecat-expo-go-cannot-buy-dev-build and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread expo-subscriptions-revenuecat-expo-go-cannot-buy-dev-build
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks