You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, I am opening the modal where I intend to put the progress indicator and cancel button that calls the following function that closes modal, and should pause download:
is placed outside functional component that has onCancelDownload, and download methods.
However, it happens pretty often, that after calling the 'downloadTask.cancel', nothing happens, and downloading continues.
But sometimes it does resolve properly, as I would expect (that the canceled error is thrown).
When trying to cancel a small file download, it happens pretty often that the cancel method call gets ignored.
As you can see, I am opening the modal where I intend to put the progress indicator and cancel button that calls the following function that closes modal, and should pause download:
Also,
is placed outside functional component that has onCancelDownload, and download methods.
However, it happens pretty often, that after calling the 'downloadTask.cancel', nothing happens, and downloading continues.
But sometimes it does resolve properly, as I would expect (that the canceled error is thrown).
Dependencies: "react-native": "~0.63.4", "react": "16.13.1", "react-native-blob-util": "^0.13.18",
The text was updated successfully, but these errors were encountered: