rn-fetch-blob icon indicating copy to clipboard operation
rn-fetch-blob copied to clipboard

Video File not found in IOS `

Open naxir opened this issue 5 years ago • 10 comments

          RNFetchBlob.config({
            path:RNFetchBlob.fs.dirs.DownloadDir+"Developer.mp4",
            timeout: 7000,
          }).fetch(
            'GET',
            url, {
              'Authorization': 'Bearer ' + userToken,
            }).then((res) => {

              RNFetchBlob.fs.exists(res.path())
                .then((exist) => {
                  // console.warn(`file ${exist ? '' : 'not'} exists`)
                })
              Alert.alert(res.path())
            }).catch((res) => {
              
            })




Above is the code that i am using but i am unable to find the download file, IMG_0458 res.path() is showing like this

Can anybody guide me what's wrong in Android downloading is working file

naxir avatar Jul 01 '19 09:07 naxir

Getting the same problem with "react-native": "0.59.5" and "rn-fetch-blob": "^0.10.15"

gregogalante avatar Oct 01 '19 16:10 gregogalante

Hi @naxir , I got the same error. Did you resolve this error?

hvlong avatar Feb 04 '20 12:02 hvlong

Hi @naxir , I got the same error. Did you resolve this error?

No @hvlong

naxir avatar Feb 17 '20 11:02 naxir

@hvlong in android it's working fine

naxir avatar Feb 17 '20 11:02 naxir

Look at this documentation https://github.com/joltup/rn-fetch-blob/wiki/File-System-Access-API#dirs and try using a different directory

JerakRus avatar Feb 26 '20 12:02 JerakRus

@JerakRus have you tried this??

naxir avatar Feb 27 '20 12:02 naxir

@naxir I had no such problem. I just went in search of a solution to another problem and saw that you are using a non-existing directory on Ios. Gave a link with a detailed description. I work on it myself, everything works =)

JerakRus avatar Feb 27 '20 13:02 JerakRus

@JerakRus Thanks Will look into this You are the boss

naxir avatar Feb 28 '20 21:02 naxir

Hi @naxir Any update on this issue? Facing same issue

ashirkhan94 avatar May 22 '23 10:05 ashirkhan94

Any update for this issue?

gaganpreet-scalex avatar Aug 22 '23 20:08 gaganpreet-scalex