joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 771 forks source link

Resolve #722 "iOS Release network requests not completing" #723

Closed teodorciuraru closed 2 years ago

teodorciuraru commented 3 years ago

Providing the third, less intrusive, solution as discussed in #722 and refers to making a minor modification that proved to work for us locally and not result in the self.task object being deallocated in Release.

NSURLSessionDataTask *task = [session dataTaskWithRequest:req];
[task resume];
self.task = task;

P.S. Not sure why I can't link issues to this PR.

retyui commented 2 years ago

Hi This module is unmentionable ⚠️! please use fork: https://github.com/RonRadtke/react-native-blob-util