itinance / itinance/react-native-fs
How to access files in project using readdir or readDir???
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hey guys, I simply want to get image files from a directory like this: "images/sequenceImages" from the same directory my index.js lies next to the ios and android folders... I've tried RNFS.MainBundlePath and RNFS.DocumentDirectoryPath BUT I CANT FIND THESE FILES...
All I want to do is access the files I included in the project and i've tried using node's fs but even that doesnt find any file. Even when I use the node fs, it cant find the files by passing it the proper path to the directory. I know the files are bundled by MetroBundler and I think that's what's tripping me up.
This shouldnt be so hard for developers!! Original fs is a cakewalk, but I'm losing my mind with this.. Can anyone help? I'd love you to death!!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.