Thanks Quinn for the clarification. That helps frame the limits much more clearly.
I have a related follow-up:
I understand from this thread and the docs on UIApplication.beginBackgroundTask(expirationHandler:) that an app can request a short grace period (typically ~30 seconds) to finish up work before suspension.
In the context of a WebRTC peer connection (data channel only), would it be technically feasible to use such a background task to allow chunk of data to finish sending during that grace period before the app is suspended? Or does the suspension model terminate low-level networking immediately regardless?
Kind note:- Here only the user has started the Upload/Download when the app is in foreground state.
Also, apart from URLSession background sessions (which I know are supported for uploads/downloads even while suspended), are there any other alternatives for performing reliable background networking when the app is not running in the foreground (for example, via BGProcessingTask or other higher-level APIs), or is URLSession background the only supported mechanism?
Thanks again for the detailed explanation!
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags: