Skip to main content
Question

React native for web SDK


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
  • 574 replies
  • 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
  • 3 replies
  • 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
  • 574 replies
  • October 7, 2024

Hi, no updates on this.


Forum|alt.badge.img+2
  • New Member
  • 1 reply
  • 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+7
  • Dedicated Member
  • 31 replies
  • January 24, 2025

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings