Question

Does RevenueCat support react native web?

  • 4 September 2023
  • 3 replies
  • 66 views

Badge

We are using expo managed workflow and want to integrate RevenueCat purchase to full fill in-app purchase need for android, ios and web. Does RevenueCat support react native web?


3 replies

Userlevel 4
Badge +8

Hi, in order to use RevenueCat for the web, you will need to do this via Stripe in order for us to log purchases.

Badge +1

Hello,

 

Same question,  does the React Native SDK support web ? I feel like it does not

I get 

Cannot read properties of undefined (reading 'setupPurchases')

and

TypeError: Cannot read properties of undefined (reading 'isConfigured')

Thanks

Userlevel 4
Badge +8

Hi, our SDK does not support web at this time so you’ll want to use 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

Reply