Hi there,
I posted about my task about uploading files here
https://developer.apple.com/forums/thread/808756
and am also getting unpredictable expirations, especially on cellular connections.
One thing I noticed is that when I tried to use the child progress, the fractionCompleted updates, but the completedUnitCount does not until the chunk is done. I wonder if expiration happens by looking at completedUnitCount and not fractionCompleted?
If not, any other ideas as to why my UploadTask on cellular is getting killed much more frequently than on wifi? I fixed some issues on wifi where I noticed if the CPU usage is too high it gets killed, but I've since fixed those, and wifi is pretty stable, but cellular is very unstable.
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: