In my first SwiftUI app, I have Remote Notifications and Background Processes enabled. I did add an AppDelegate class, to support notification.
The notifications set the app badge to an appropriate value.
Since this app has these background modes enabled, several lifecycle events are not working:
applicationDidBecomeActiveapplicationWillResignActiveapplicationDidEnterBackgroundapplicationWillEnterForeground
Question: where/how do I reset the badge?