Feature Request: Reason for taskExpiration for BGContinuedProcessingTask

I've tuned my task to be decently resilient, but I found a few issues that caused it to expire regularly.

  1. excessive CPU usage -> I'm actually running it behind ReactNative, and I found an issue where I was still updating ReactNative and thus it was keeping it alive the entire time the task was running. Removing this update helped improve stability
  2. not updating progress frequently enough ( see https://developer.apple.com/forums/thread/809182?page=1#868247022)

My feature request is, would it be possible to get a reason the task was expired in task.expirationHandler? That would be helpful for both the user and for debugging why the task was expired. Thanks!

Answered by DTS Engineer in 868301022
My feature request is

The best way to get this suggestion to the folks who can act on it is to put it in an enhancement request.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

My feature request is

The best way to get this suggestion to the folks who can act on it is to put it in an enhancement request.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Feature Request: Reason for taskExpiration for BGContinuedProcessingTask
 
 
Q