This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Description
When canceling task on Android the catch method does not run, the then runs. The callback does.
const task = RNFetchBlob.config(config)
.fetch('GET', url)
.then((res) => {
RUNS ON ANDROID ON CANCEL
})
.catch(() => {
NEVER RUNS ON ANDROID WHEN CANCELED
});
task.cancel(() => {
RUNS WHEN CANCELED
});
RN: 0.48.1
RN-FETCH-BLOB: 0.10.8