URLSession enables you to download and upload files while the app is in the background. Basic instructions to get it working are often found online, but it’s hard to make it work as expected and debug the flows. After implementing background uploading support for Collect by WeTransfer myself, I decided to write down my learnings. Both to help you and my future self ;-). For my day-to-day job, I’m