Skip to main content
Solved

IOS events lag

  • December 1, 2023
  • 1 reply
  • 156 views

Forum|alt.badge.img+1

I am testing the purchases of subscriptions for both ios and android and receiving webhook notifications to my backend in order to update the subscription status of a user. Android works really well, every time i purchase a subscription, a renewal process happens or cancel/expiration, the events are received by revenuecat in real time and webhook requests are sent instantly. For IOS however for some reason it has a big lag. For example i renew a subscription directly from the app store, and revenuecat has not received the event not even 5 minutes later. Every time a renewal event occurs it’s delivery time is usually 3-5 minutes later then the purchase date in the request. Also the time window between renewal seem to not correspond with the time set in the appstore settings. For example if i set 5 minutes between renewals, sometimes is 5 minutes sometimes is 10 minutes between two renewals.

Has anyone encountered this problem in ios sanbox environemnt? Is it the same for production also?

Best answer by Haley Pace

Hi, the lag can be in part be due to the sandbox environment, but this can be reduced by enabling Apple Server Notifications if you haven’t already, see here: https://www.revenuecat.com/docs/apple-server-notifications

In regards to the renewal times, this depends on the duration of your subscription as sandbox’s accelerated renewal time is determined for each. If it is 1 week or 1 month, the renewal time will be 5 minutes in sandbox, but if it is 3 months then the renewal time will be 10 minutes. minutes: https://www.revenuecat.com/docs/google-play-store#working-with-subscriptions

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

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 532 replies
  • Answer
  • December 6, 2023

Hi, the lag can be in part be due to the sandbox environment, but this can be reduced by enabling Apple Server Notifications if you haven’t already, see here: https://www.revenuecat.com/docs/apple-server-notifications

In regards to the renewal times, this depends on the duration of your subscription as sandbox’s accelerated renewal time is determined for each. If it is 1 week or 1 month, the renewal time will be 5 minutes in sandbox, but if it is 3 months then the renewal time will be 10 minutes. minutes: https://www.revenuecat.com/docs/google-play-store#working-with-subscriptions


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