Solved

Flutter purchasePackage delay on ios

  • 13 January 2023
  • 8 replies
  • 488 views

Badge +1

There is a delay of about 5 seconds from function call and popup displayed on ios. Is there solution for this?

icon

Best answer by Miguel Carranza 21 January 2023, 00:38

View original

8 replies

Userlevel 2
Badge +6

Hi Yurii, do you mean after the user has confirmed the purchase, or is it before showing the payment dialog?

Badge +1

Before show payment dialog.

Userlevel 2
Badge +6

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.

Userlevel 2
Badge +6

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.

Badge

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. 

Badge +1

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}

Userlevel 1
Badge +4

I am having the same issue but in my case the pop up often will not come up at all.

 

Reply