itinance / itinance/react-native-fs
Trouble using scanFile
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use scanFile method to scan a file after rename but it doesn't seem to be working. Also, the autocomplete acts like scanFile isn't there (like it suggests other methods when I start typing).
This is kinda what my code looks like
```
import RNFS from 'react-native-fs';
let path = 'file:///storage/emulator/Download/abc.mp3';
async function xyz() {
await RNFS.scanFile(path);
}
```
Is there something I'm doing wrong?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.