itinance / itinance/react-native-fs

writeFile faild with no error

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

Description

I'm using redux-persist-fs-storage which use react-native-fs as it's persist storage, I have tried to save some settings for my app but failed. After debug, I found the problem was caused by this block `https://github.com/itinance/react-native-fs/blob/master/android/src/main/java/com/rnfs/RNFSManager.java#L128-L130` of code, it will be success without error, but the file not exists actually.

```
filepath = "/data/user/0/com.myapp/files/persist/111";
```

My environments:
react-native: 0.52.3
react-native-fs: 2.9.11
Android: 7.1.1
Pad model: Lenovo TB-X704N

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.