itinance / itinance/react-native-fs
Replace rn-fetch-blob with this library fail on writeFile()
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I take photo and it is kept on this path temporary:
`/Users/user/Library/Developer/CoreSimulator/Devices/1A0F7397-23AE-4631-A422-ECB1E71906AC/data/Containers/Data/Application/7F903709-BC0B-42C9-B424-190D7970B528/tmp/ReactNative/73A573A573A573A573A520B93.jpg`
Then I use (this work):
`RNFetchBlob.fs.writeFile(destination, this.state.res, "uri")`
When I try to do the same with this library (doesn't work):
`RNFS.writeFile(destination, this.state.previewSource.uri, "uri")`
or
`RNFS.writeFile(destination, this.state.previewSource.uri, "base64")`
It same file but file is corrupted doesn't work. Any idea?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.