Solved

Showing loader after IAP before confirmation?

  • 24 February 2022
  • 1 reply
  • 233 views

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

icon

Best answer by joshdholtz 24 February 2022, 20:39

View original

1 reply

Userlevel 3
Badge +5

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