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: https://www.revenuecat.com/blog/in-app-puchase-expo-managed-workflow/
Let us know if you run into any issues!