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

  • 8 June 2023
  • 1 reply

Badge +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? 

1 reply

Userlevel 4
Badge +8

Hi, you can use the SKPaymentTransactionObserver as detailed here:

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