Skip to main content
Question

Purchases.configure is not a function error on Expo

  • December 16, 2024
  • 2 replies
  • 60 views

Forum|alt.badge.img+1

Hey everbody i got some issue. The problem is  “Purchases.configure is not a function (it is undefined)] [Component Stack]”. I am using like this 

 but this func returned  

how can i fix that ? I’am using expo@52 

This post has been closed for comments

2 replies

Forum|alt.badge.img+1
  • Member
  • 6 replies
  • December 17, 2024

Merhaba

offerings.current?.availablePackages

bu şekilde çekebilirmisiniz


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 576 replies
  • January 6, 2025

Hi, sorry for the delay here. Can you please make sure to have properly installed our SDK following our guide here: https://www.revenuecat.com/docs/getting-started/installation/reactnative#option-2-using-expo

Please also follow our guide here to configure our SDK: https://www.revenuecat.com/docs/getting-started/quickstart#initialize-and-configure-the-sdk

It might be that having configure inside of that hook is causing a problem so if it still isn’t working after double-checking our docs then I would try calling it outside of that similar to our configuring SDK code above.


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