itinance / itinance/react-native-fs
React native fs path not found
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
var path = RNFS.DocumentDirectoryPath + '/test.txt';
RNFS.writeFile(path, 'Lorem ipsum dolor sit amet', 'utf8')
.then(success => {
console.log('FILE WRITTEN!');
})
.catch(err => {
console.log(err.message);
});
console.log(RNFS.DocumentDirectoryPath)
/data/user/0/com.xxx/files/test.txt
i can read it from the code, but i can't find it in my device
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.