There is a delay of about 5 seconds from function call and popup displayed on ios. Is there solution for this?
Flutter purchasePackage delay on ios
Hi Yurii, do you mean after the user has confirmed the purchase, or is it before showing the payment dialog?
![One Year Wiser Badge](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/199b3856-4040-459a-ac89-09699ef6f081_thumb.png)
Before show payment dialog.
Then it’s the Sandbox environment, which is known to be not super reliable. In production it should go faster.
As a new user, that’s not a very reassuring answer… Has this been addressed, as I am seeing an 8-second lag between choosing the purchase option and having the iOS confirmation page come up.
Hi Brian,
I understand the concern, but unfortunately there is nothing we can do about Apple’s Sandbox environment, which is known to be very flaky. Even the environment used by App Store reviewers is bad. It’s not a problem caused by or exclusive to RevenueCat.
In production it will be much smoother. Again, I know it’s not reassuring. But tens of thousands of apps use RevenueCat in production without experiencing the delays we all get to suffer in the testing environment.
![Shipped It Badge](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/00177be5-17f2-4400-bea7-87c75adea50f_thumb.png)
Hey I have the same issue in TestFlight and when debugging. Is that considered sandbox as well? It took about 9 seconds after tapping the purchase button till the apple purchase screen came up.
My testers all have the same issue as well.
![Why Not Both? Badge](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/ccbc4ad2-bff5-4fe9-b65f-83bbced7a8ac_thumb.png)
I am experiencing the same thing, with up to a 17 second delay. There is a note in the debug log, I’m not sure how relevant it is:
<SKReceiptRefreshRequest: 0x283129420>: Finished refreshing receipt with error: Error Domain=ASDErrorDomain Code=603 "Request throttled" UserInfo={NSLocalizedDescription=Request throttled, NSLocalizedFailureReason=Unified receipt is valid and current}
I am having the same issue but in my case the pop up often will not come up at all.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.