Skip to main content

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? 

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.


Reply