Hey,
I'm currently trying to figure out how to use a dependency service to create an upload task for data that will still run after closing the app / minimizing / moving it to the background. I need to upload large amounts of data to a server and I'm not sure if I need a foreground or background service on Android and how the iOS equivalent would look like. The examples I found are mostly tasks that should be executed every X minutes and not as a one-time task.
I hope someone can help! Many greetings