Closed SimonBasca closed 3 weeks ago
Previously, downloads would resume if the app is made active again (https://github.com/mozilla-mobile/firefox-ios/pull/12241). With the scenes PR, this functionality was moved to sceneDidBecomeActive
.
I recommend testing backgrounding & foregrounding the app as well here. If this doesn't work, I suspect we may have to move it to sceneWillEnterForeground
🤔
➤ Simion Basca commented:
I see no issue when backgrounding the app and restoring while the download is in progress. The only problem is when disconnecting and reconnecting the internet connection.
➤ Razvan Litianu commented:
Simion Basca Nishant Patel I looked at the code and it seems an error is thrown when disconnecting the internet and it’s explicitly removed from the queue. It looks like it’s the intended behavior unless we ignore this error. What do you think we should do in this case?
!Screenshot 2023-02-09 at 16.32.41 1.png|width=566,height=169!
➤ Simion Basca commented:
Razvan Litianu in Safari when disconnecting the device from the internet while the download is in progress, the download is stopped but Safari has a way of resuming the download.
The expected behavior for me would be to resumed when turning on internet connection or pause the download and have a “Retry” button.
I've come across this discrepancy recently when trying to download large congress talk recordings on a flaky congress WLAN.
I've had frustrating days with Firefox, as downloads would abort very frequently and had to be restarted from scratch (no range requests) and even by opening the source webpage and finding the download link again.
I had to switch to Safari, which provides all the described functionality (and more).
This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue linking to this one, with up-to-date information. Thank you!
Steps to reproduce
Expected behavior
Actual behavior
Device & build information
Notes
Attachments:
┆Issue is synchronized with this Jira Task