Skip to main content
Question

is Purchases.configure a Promise?

  • Sep 9, 2024 10:29 PM UTC
  • 1 reply
  • 346 views

Forum|alt.badge.img+8

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
  • Dec 10, 2024 10:29 PM UTC

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.