Hey,
I have a question to the following scenario: We have a `UNUserNotification` that is scheduled for a certain date. The content of this notification might be subject to change as we get closer to its delivery. We now want to have a way to wake up (not earlier then a certain interval), refetch content and if something change, update/reschedule the Notification. We thought of using the BackgroundTasks to do it.
My question is:
Which type of task is the right one to use here? Or shouldn't we use the BackgroundTasks framework for this at all?
- Problem with `BGAppRefreshTask`: My understanding was that the `BGAppRefreshTask` is scheduled intelengently before the app ususually is woken up by the user. So using it for refreshing a something that won't be followed by an app launch seems wrong.
- Problem with 'BGProcessingTask': We do not need any heavy processing for our task. But I guess the system will think that we will need to do heavy processing since it is a `BGProcessingTask` and schedule it only if the system has a downtime.
Also, just to be clear once and for all: Can there be only one `BGAppRefreshTask` for the app at a time? It kinda makes sense, but it isn't stated anywhere explicitly.
Thanks,
Klemens