-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS 12 stopDownload causes downloadFile promise to never resolve #568
Comments
Any solution? I am facing same isssue. |
@XiaoMengDuan I am not sure if this is the right solution, but the following worked for me. In the Downloader.m file,
|
@manjariParthiban Thanks for your solution. |
Did you try passing the
https://github.com/itinance/react-native-fs#stopdownloadjobid-number-void |
I am using newest version 2.16.1 and It is working as expected on IOS 13 |
Guys, having this issue with whatever version of this library using IOS 13.3. Any help? Is this repo still active? |
Any updates on this? This issue still very much exists. Makes the stopDownload function practically unusable on iOS. |
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.
The text was updated successfully, but these errors were encountered: