I believe the expiration is happening from the progress not updating after ~30 seconds because there is no network (which my understanding is expected behavior, as the system can terminate the task when progress isn't updated)
The part that is not expected is, after the task expires, based on the comment above, I should be able to avoid the failure UI notification by calling task.setCompleted(success: true). But no matter what I do, I always get the "Task Failed" failure notification (which seems to happen before the expirationHandler is even called).
I'm ok that the task is expiring in this case, I would just like to avoid the failure notification and handle it myself
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: