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
{{ message }}
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
I've been trying to find a way to cancel download requests.
found this gist and it works.
calling cancel() will stop the request.
but after calling cancel(), then() always gets executed.
the result of calling cancel() in this gist is : [ DOWNLOAD IS COMPLETED ]
desired result : [ DOWNLOAD IS CANCELLED ]
react-native-fetch-blob: v 0.10.8
react-native: v 0.55.3
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been trying to find a way to cancel download requests.
found this gist and it works.
calling cancel() will stop the request.
but after calling cancel(), then() always gets executed.
the result of calling cancel() in this gist is : [ DOWNLOAD IS COMPLETED ]
desired result : [ DOWNLOAD IS CANCELLED ]
react-native-fetch-blob: v 0.10.8
react-native: v 0.55.3
The text was updated successfully, but these errors were encountered: