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

  • Jun 8, 2023 1:39 PM UTC
  • 1 reply
  • 341 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
  • Jun 30, 2023 9:09 PM UTC

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.