About A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.
55
stars
11
forks
source link
Download stays locked in pending when provided slow responding download link #22
Open
Cereser01 opened 5 months ago
Is this a bug report, a feature request, or a question?
Bug
Have you followed the required steps before opening a bug report?
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
I've only experienced and been able to reproduce it on Android.
Is the bug related to the native implementation? (NSURLSession on iOS and Fetch on Android)
Not that I've been able to detect.
Environment
Environment: React: 18.2.0 React native: 0.74.0 react-native-background-downloader: ^3.1.2 Node: 18 Java: 17
Target Platform: Android (34.0)
Expected Behavior
The file should correctly download after the URL responds.
Actual Behavior
The download is permanently in a state of "Pending" and never finishes.
Steps to Reproduce
The following repository contains a basic app to recreate the issue: https://github.com/Cereser01/wdvcamerapoc
How to reproduce using the app from the above repository:
How to reproduce from scratch:
Relevant information
The problematic URL takes 2 to 6 minutes to respond after being called.