Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup single background session for upload tasks #986

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

GianniCarlo
Copy link
Collaborator

Purpose

  • Upload tasks can get stuck after the app is sent to the background

Approach

  • Per feedback from Apple dev support, we now hold a single background URLSession and always reuse that for uploading files

Things to be aware of / Things to focus on

  • This PR also includes an additional header on the queued task list, to remind users that Wifi is required for uploading files

@GianniCarlo GianniCarlo self-assigned this Aug 18, 2023
@GianniCarlo GianniCarlo merged commit 5a69653 into develop Aug 19, 2023
1 check passed
@GianniCarlo GianniCarlo deleted the upload-single-backgroundqueue branch August 19, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant