You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fetch does not handle the Android 'content:' scheme.
It specifically fails here as success status is 0 for blobs and scheme is 'content://' and not 'file://'
Steps to reproduce
Install the application with yarn android
Select a (non-large) file by granting limited permissions. This should provide a url using the 'content://' scheme on newer Androids (API 35 for me)
RangeError: Failed to construct 'Response': The status provided (0) is outside the range [200, 599].
the crash is at [this line](https://github.com/JakeChampion/fetch/blob/ba5cf1ed2e02ebb96fa1e60b4fd2eb04071b60e4/fetch.js#L547) in fetch (js)
Description
fetch does not handle the Android 'content:' scheme.
It specifically fails here as success status is 0 for blobs and scheme is 'content://' and not 'file://'
Steps to reproduce
React Native Version
0.76.6
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/giantslogik/blob-large-file-fetch
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: