itinance / itinance/react-native-fs
how get path for local png image
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
RN 0.60
RN FS 2.14.1
MacOs
Tested on Android 6
Hi, i try with RNFS.readFile to get image from my local folder 'slike'.
This is screeshot of my project structure. I need path for sharing image in react-native-share package.

this is my code
RNFS.readFile(RNFS.DocumentDirectoryPath + '/slike/page1.png', 'base64').then((image) => {
console.log(image)
});
Error: ENOENT: no such file or directory
RNFS.readDir(RNFS.DocumentDirectoryPath+ '/slike')....
Error: folder slike don't exist
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.