Skip to main content
Question

React native for web SDK

  • October 9, 2023
  • 5 replies
  • 271 views

Forum|alt.badge.img+1

Does RevenueCat support React native for web ?
I do not see a guide on how to implement it. I tested

Purchases.configure({
apiKey: process.env.STRIPE_API_KEY,
})

and I get a Cannot read properties of undefined (reading 'setupPurchases')

This post has been closed for comments

5 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • October 25, 2023

RevenueCat does not currently support React Native Web via our SDK, but you can use RevenueCat with React Native Web via Stripe: https://www.revenuecat.com/docs/stripe. Rather than using Purchases.configure to configure the SDK and create a user, you’ll instead use our REST API to create users: https://www.revenuecat.com/reference/subscribers


Forum|alt.badge.img+3
  • New Member
  • October 6, 2024

Hi, has this changed? It would be really great to have one payment system for my expo/react-native project on three platforms.


Forum|alt.badge.img+8
  • RevenueCat Staff
  • October 7, 2024

Hi, no updates on this.


Forum|alt.badge.img+2
  • New Member
  • January 9, 2025

Hi, just chiming in that this would be a major draw for us to use RevenueCat more.

 

React Native / Expo are for building universal apps, not just Android and iOS. The fact that your react native package only supports the two platforms is disappointing.

 

Is this planned or should I look elsewhere for our future projects?


Forum|alt.badge.img+8
  • Helper
  • January 24, 2025

+1 for the react-native-purchases SDK to have web support.