itinance / itinance/react-native-fs
IOS 12 stopDownload causes downloadFile promise to never resolve
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I have noticed that on IOS 12 if a download started by a call to RNFS.downloadFile is cancelled by calling the RNFS.stopDownload, then the promise returned by RNFS.downloadFile is never resolved. This causes our app to never remove a modal progress screen from display.
This only happens on IOS 12. It is fine on IOS 11.4 (and lower) and Android.
I am happy to share the code if required.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.