Implements iOS background downloads. Turns out I had this 99% of the way there, and it only needed a little extra push of reading the documentation.
This fixes#341. This also improves #344, as iOS will be smart and automatically pause and retry background downloads when network conditions are poor.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/347
**Author:** [@ronaldheft](https://github.com/ronaldheft)
**Created:** 8/31/2022
**Status:** ✅ Merged
**Merged:** 8/31/2022
**Merged by:** [@advplyr](https://github.com/advplyr)
**Base:** `master` ← **Head:** `ios-bg-downloads`
---
### 📝 Commits (1)
- [`35631fb`](https://github.com/advplyr/audiobookshelf-app/commit/35631fb211c62dcd54eba575e89c682eb38841c5) feat: Handle iOS background downloads
### 📊 Changes
**2 files changed** (+21 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `ios/App/App/AppDelegate.swift` (+7 -0)
📝 `ios/App/App/plugins/AbsDownloader.swift` (+14 -1)
</details>
### 📄 Description
Implements iOS background downloads. Turns out I had this 99% of the way there, and it only needed a little extra push [of reading the documentation](https://developer.apple.com/documentation/foundation/url_loading_system/downloading_files_in_the_background).
This fixes #341. This also improves #344, as iOS will be smart and automatically pause and retry background downloads when network conditions are poor.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/347
Author: @ronaldheft
Created: 8/31/2022
Status: ✅ Merged
Merged: 8/31/2022
Merged by: @advplyr
Base:
master← Head:ios-bg-downloads📝 Commits (1)
35631fbfeat: Handle iOS background downloads📊 Changes
2 files changed (+21 additions, -1 deletions)
View changed files
📝
ios/App/App/AppDelegate.swift(+7 -0)📝
ios/App/App/plugins/AbsDownloader.swift(+14 -1)📄 Description
Implements iOS background downloads. Turns out I had this 99% of the way there, and it only needed a little extra push of reading the documentation.
This fixes #341. This also improves #344, as iOS will be smart and automatically pause and retry background downloads when network conditions are poor.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.