Skip to main content
Solved

Showing loader after IAP before confirmation?

  • 24 February 2022
  • 1 reply
  • 278 views

Forum|alt.badge.img+1

When showing the IAP action sheet there is some delay upon a purchase attempt and a response from apple confirming success to trigger the SDK callback, this leaves the user a bit confused whats going on... 

This all goes on inside the RC `purchasePackage` method where it doesnt let me know the time period between user confirming purchase and the callback received from the SDK that its all been done

Is there a way to handle for this?

Best answer by joshdholtz

Hey @JackW!

This is slightly expected but also out of RevenueCat control. In my personal apps that have RevenueCat in them, I tend to put some sort of activity indicator / spinning progress dialog on or near the purchase button to show that there is something happening. You could also put a little label on the screen that the app is waiting for payment processing. I enable my activities indicator before calling `purchasePackage` and then disable it the callback.

Hopefully this helps! Let me know if not 😊 

View original
Did this post help you find an answer to your question?

1 reply

joshdholtz
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • 92 replies
  • Answer
  • February 24, 2022

Hey @JackW!

This is slightly expected but also out of RevenueCat control. In my personal apps that have RevenueCat in them, I tend to put some sort of activity indicator / spinning progress dialog on or near the purchase button to show that there is something happening. You could also put a little label on the screen that the app is waiting for payment processing. I enable my activities indicator before calling `purchasePackage` and then disable it the callback.

Hopefully this helps! Let me know if not 😊 


Reply


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