Open shen-lan opened 4 years ago
This may help, if it still exists: https://github.com/joltup/rn-fetch-blob/issues/399#issuecomment-519080982
i use RNFetchBlob.config({ trusty: true, timeout: 1500, })
to fix this issue add .config before .fetch ==> await RNFetchBlob.config({
trusty: true,
timeout: 1500,
}).fetch(
Below is my code : ===>
const response = await RNFetchBlob.config({ trusty: true, timeout: 1500, }).fetch( 'PUT', res?.data?.data?.url, { 'Content-Type': result[0]?.type, }, RNFetchBlob.wrap(result[0]?.uri.replace('file://', '')), );