Closed alekpopek closed 2 years ago
Hey @alekpopek
Indeed, after returning to foreground, sometimes NSUrlSession is corrupted and first request might lead to en error. We will add some error threshold.
UPD
This PR #693 should do the trick?
Thanks @descorp It's pretty urgent because it happens on our live app from time to time.
@alekpopek
will be patched up and released this week :) Thanks for pointing out the issue!
Hey @alekpopek
4.4.0 was released with fix for PollingComponent.
Thank You! :tada:
Could you verify it does the job for you?
Yes. It was tested last week and I can confirm that It works. Thank You
Describe the bug PollingComponent doesn't support network error and it calls didFail delegate method even though a payment did finish with success.
To Reproduce Steps to reproduce the behavior:
didFail(with error: Error, from component: DropInComponent)
is called because of network errorExpected behavior PollingComponent should handle network error and repeat API calls until it gets a proper response.
Logs