onProgress should throw any error if it encounters the error ERROR_INSUFFICIENT_SPACE (errorCode: 1006), like IOS does (errrorCode: -1)
Actual Behavior
onProgress doesn't throw any error if it encounters the error ERROR_INSUFFICIENT_SPACE (errorCode: 1006), like IOS does (errrorCode: -1). It gets stuck in progress.
Is this a bug report, a feature request, or a question?
Bug report
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an
x
character between the square brackets ([]
).)Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Android
Is the bug related to the native implementation? (NSURLSession on iOS and Fetch on Android)
Yes
Environment
Environment: React: 18.2.0 React native: 0.74.3 react-native-background-downloader: 3.2.2
Expected Behavior
onProgress should throw any error if it encounters the error ERROR_INSUFFICIENT_SPACE (errorCode: 1006), like IOS does (errrorCode: -1)
Actual Behavior
onProgress doesn't throw any error if it encounters the error ERROR_INSUFFICIENT_SPACE (errorCode: 1006), like IOS does (errrorCode: -1). It gets stuck in progress.