itinance / itinance/react-native-fs
Android downloadFile completely freezes the app
Open
more info needed
question
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
When I start downloading large file the app completely freezes.
My config is really simple:
```
const config = {
fromUrl: url,
toFile: path,
progressDivider: 1,
begin: ({ contentLength }) => {
processProgress(contentLength);
},
progress: ({ contentLength, bytesWritten }) => {
processProgress(contentLength, bytesWritten);
},
};
const task = RNFS.downloadFile(config);
```
Android: 6.0 and 7.1.1, both emulated with remote debugging on
RN: 0.51.0
RNFS: 2.9.10
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.