Skip to main content
Question

react-native-purchases -expo react native application. and i need to know the status of purchase start to end process

  • June 8, 2023
  • 1 reply
  • 58 views

Forum|alt.badge.img+1

currently i,m developing the expo react native application ,when i try to purchase the subscription in ios(react-native-purchase),take sometime to show ios purchase prompt and i need to show the spinner/loader before purchase prompt open and i have no idea,when ios subscription prompt open and close and anyone please sortout this issue? 

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 562 replies
  • June 30, 2023

Hi, you can use the SKPaymentTransactionObserver as detailed here: https://stackoverflow.com/a/62767329

Apple recommends registering an SKPaymentTransactionObserver as soon as the app launches, and RevenueCat automatically does this when you configure an instance of Purchases.


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