react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

iOS uploadFiles error handling ignores error

Open SebastianSingle99 opened this issue 2 years ago • 0 comments

If I try to upload a file with really bad network connection, the dataTaskWithRequest fails with the following error:

image

The error is ingored and calls the completeCallback and therefore my app thinks the file has been uploaded although it has failed. I think the errorCallback should be called in this case.

SebastianSingle99 avatar Sep 19 '23 11:09 SebastianSingle99