Skip to content

Fix progress reporting for files larger than Integer.MAX_VALUE (2.14 GB) on Android#766

Open
treyreynolds wants to merge 565 commits into
joltup:masterfrom
RonRadtke:master
Open

Fix progress reporting for files larger than Integer.MAX_VALUE (2.14 GB) on Android#766
treyreynolds wants to merge 565 commits into
joltup:masterfrom
RonRadtke:master

Conversation

@treyreynolds
Copy link
Copy Markdown

If you attempt to download a file that is larger than ~2 GB on Android you won't receive any progress updates. The fix in this case is simply hard coding a max contentLength so that at least delta updates will come through. This was confirmed to work experimentally and is admittedly a small edge case.

pierre275 and others added 29 commits January 26, 2023 18:32
// this is required to support formData on android
…checking for key first, to prevent potential async issues
Add legacy constants to the module spec
Include failure reason in error from writeFile on iOS
Null check HashMap's get result in ReactNativeBlobUtilReq instead of checking for key first, to prevent potential async issues
Fix support of FormData in Fetch polyfill on android
fix: change method names and import to proper one
Add Custom Error for cancel task reject
error - typo
The issue is, that an image URL usually does not accept 'application/octet-stream'. It is also incorrect to use JSON.stringify(dat) as a body parameter as dat is not defined, leading to issue #228
Fix CopyToMediaStore documentation
…android-10-or-older

Refactor getNetworkForIp for Android<=10, use RouteInfo instead of LinkAddress
#fixes 443
#fixes #441
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.