Skip to main content
Question

is Purchases.configure a Promise?

  • September 9, 2024
  • 1 reply
  • 28 views

Forum|alt.badge.img+7
  • Dedicated Member
  • 31 replies

The documentation suggests Purchases.configure() is async because of the await in the Configuration docs.  
However, the React Native TypeScript definition says (args: PurchasesConfiguration) => void, so no promise.

 

Which is it?

I am using "react-native-purchases": "^7.1.0".

This post has been closed for comments

1 reply

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 274 replies
  • December 10, 2024

Hi! I apologize for the delay. We are going through old unanswered posts. No, you do not need the await. I will work on updating the documentation.


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