Additional info:
The symbolic breakpoints are not needed to understand this.
Launching the app from a home screen widget doesn't even execute my App's body until the app is foregrounded. In 18.3 and earlier it did. Since the .backgroundTask modifier is applied to the WindowGroup (inside the body), we're in trouble re: making the registrations happen during launch.
@DTS Engineer Can you please raise the visibility of the issue outside the CoreOS team so the SwiftUI folks get involved?
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: