itinance / itinance/react-native-fs

Folder/File not found on IOS

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

Description

I am trying to load a json folder on document root or ios folder
- project-root\assets\a.json
- project-root\ios\assets\a.json

with
```
RNFS.readDir(RNFS.MainBundlePath + "/assets");
RNFS.readFile(RNFS.MainBundlePath + "/assets/a.json");
```

when I debug on IOS stimulator, it warning that assets folder is not found.
what is happened and how can I make it?

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.