itinance / itinance/react-native-fs

Android downloadFile completely freezes the app

Open
#443 4 comments 6 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.