React-Native / Expo Go: How to solve `TypeError: null is not an object (evaluating 'RNPurchases.setupPurchases')`

  • 29 August 2022
  • 0 replies

Userlevel 4
Badge +8
  • RevenueCat Staff
  • 159 replies

Expo Go doesn’t build native modules, so you may run into this error while trying to run your app with react-native-purchases in Expo Go. 


In order to use RevenueCat with Expo, you will have to create Development Builds, which can be done either by using EAS, or by making builds that are compatible with Xcode and Android Studio. 

There are detailed instructions for doing either one in this page:


We also have a blog post that goes step-by-step into how to make an app with Expo and RevenueCat using EAS:


Let us know if you run into any issues! 

0 replies

Be the first to reply!