itinance / itinance/react-native-fs
[Error: The file “IMG-7018.mov” couldn’t be opened because there is no such file.]
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to uploading a video in IOS through RNFS then it's throwing this error

`const urlComponents = video?.uri.split('/');`
`const fileNameAndExtension = urlComponents[urlComponents.length - 1];`
`const destPath = ${RNFS.TemporaryDirectoryPath}/${fileNameAndExtension};`
`await RNFS.copyFile(video?.uri, destPath);`
console.log('file://' + destPath);
body.append('video', {
name: 'video.mp4',
uri: 'file://' + destPath,
type: video.type,
});
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.