purchases-ios icon indicating copy to clipboard operation
purchases-ios copied to clipboard

Fetching offerings runs infinitely when 100% loss is set in Network Link Coordinator

Open AndriyGo opened this issue 9 months ago • 2 comments

When testing my app, I noticed that if I turn on Network Link Coordinator and I set it to 100% loss preset – Purchases.shared.offerings() never returns.

Steps to reproduce:

  1. Turn on Network Link Coordinator and set it to 100% loss
  2. Configure RevenueCat sdk in the project
  3. Test the following code:
do {
    let offerings = try await Purchases.shared.offerings()
    print("Offerings fetched")
}
catch(let error as PublicError) {
    print("error")
}

Neither "Offerings fetched" nor "error" are ever reached.

Again – I am not 100% sure if this preset resembles a real-world scenario, but if it does – maybe a timeout of some sort is needed?

AndriyGo avatar Mar 20 '25 18:03 AndriyGo

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Mar 20 '25 18:03 RCGitBot

@AndriyGo Thanks for reporting this. We have various timeouts implemented, but there might be a missing case here. I'll test this with my team and get back to you.

Jethro87 avatar Mar 29 '25 01:03 Jethro87

Hi @AndriyGo I'm very sorry about the delay on this reply. We've been auditing our ticketing system and found that your ticket was never resolved. Are you still running into this issue? If so we can resume looking into this.

HaleyRevcat avatar Oct 14 '25 18:10 HaleyRevcat

Hey @AndriyGo, As we haven't heard back from you, I'll go ahead and close this issue. Please feel free to create a new one or contact support if you have any questions or would like to report an issue. 🚀

mawr92 avatar Oct 31 '25 18:10 mawr92