Open MilanC994 opened 1 year ago
Anyone help please ?
@MilanC994 were you able to find a fix for this? I am noticing some of our user uploads have the same error when trying to run a background upload
@kusche12 Not yet.
Hey @kusche12 I was able to solve this issue by increasing the timeoutInterval for IOS too. go to ode_modules/react-native-background-upload/ios/VydiaRNFileUploader.m and add your custom timeout interval
... NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:requestUrl]; [request setHTTPMethod: method]; [request setTimeoutInterval:YOUR_INTERVAL]; ...
I'm trying to upload large videos, and getting the error 'Request timed out'. I was able to increase the timeout for Android, but how do I do it for IOS ?
I can see the request is processed on my backend, it uploads the file to s3, and returns correct url, but the RNBU throws the timeout error anyways.
RN: 0.68.2 RNBU: 6.6.0