Open satputepritamcts opened 4 years ago
Do you know which PR added that change?
@cristianoccazinsp It was added in version 0.10.9 andSeparate requests from network logic was created in below commit https://github.com/joltup/rn-fetch-blob/commit/8dd310d9f62979b77b39ddfb11ef6287fcf71bae#diff-e1595377ab5b79cea2781f2f81193df3
@cristianoccazinsp Any update on this? Related to PDF not downloaded or Delegate methods are not able to triggered
Related to: https://github.com/joltup/rn-fetch-blob/pull/723
NSURLSessionDataDelegate
are not able to triggered in release build(In debug it's working fine) and PDF are not getting loaded. After comparing code withrn-fetch-blob
previous version we got to know that earlier NSURLSessionDataTasktask
variable was having local scope and it’s __block variable but in latest version it's global and declared asweak
With below change NSURLSessionDataDelegate methods are calling and PDF is displayed.
Any one facing same issue ?