itinance / itinance/react-native-fs

App hangs at RNFS.exists()

Open
#744 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

I have the following code:

```
const exists = await RNFS.exists(dest);
debugger;
```

On iOS, everything works as expected. On Android, _sometimes_ everything works as expected, and _sometimes_ (completely randomly, seemingly not correlated with any event or pattern) it just hangs there forever. I don't get to hit the debugger and none of the code afterwards is run.

The whole code is inside a try/catch block and I've got a debugger inside catch too, and it's not being hit as well.

What am I doing wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.