itinance / itinance/react-native-fs

IOS 12 stopDownload causes downloadFile promise to never resolve

Open
#568 7 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.