Skip to main content
Question

Purchase Class is null

  • June 1, 2023
  • 1 reply
  • 124 views

Forum|alt.badge.img

I’m using expo with EAS. Both in production and expo it throws errors saying the Purchase Class is null and thus no functions exist on it. My IDE says it the class is imported and i can call the functions. Typescript says everything is fine. Can someone help me?

I installed the react-native-purchases package multiple times and cleared Caches as well.

 

 

This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • June 5, 2023

Hi,

Happy to help. For reference, did you build your app following this guide?