Fetching offerings runs infinitely when 100% loss is set in Network Link Coordinator
- [x] I have updated Purchases SDK to the latest version
- [x] I have read the Contribution Guidelines
- [x] I have searched the Community
- [x] I have read docs.revenuecat.com
- [x] I have searched for existing Github issues
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:
- Turn on Network Link Coordinator and set it to 100% loss
- Configure RevenueCat sdk in the project
- 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?
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
@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.
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.
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. 🚀