itinance / itinance/react-native-fs
Can't access files of hidden folder.
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I am not able to access files from a hidden folder `/WhatsApp/Media/.Statuses` in react-native-fs. Whenever I access I get back an empty array. I have granted `READ_EXTERNAL_STORAGE` permission. My code goes like this :
```javascript
import RNFS from 'react-native-fs'
RNFS.readDir(`${RNFS.ExternalStorageDirectoryPath}/WhatsApp/Media/.Statuses`).then(res => {
console.log(res) // logs : []
})
```
I am able to access files of other folder but not anything that starts from '.'
How to access files of a hidden folder in react-native-fs ?
Update:
This issue is in Android 11. Probably Android 10 as well.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.