'Relative path is not working with react-native-fs
I'm using react-native-fs library for just reading and writing files, I'm giving exact relative path while reading file but it is returning no file exists...
RNFS.exists('../../res/local_storage.txt').then(status => console.log(status)); returns false
RNFS.readFile('../../res/local_storage.txt').then( ... code ... ) returns following promise rejection.
here is the location of local_storage.txt...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


