Hi, i have the same issue, even when the app is running in foreground.
According the documentation it should always call:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
It's working with iOS 15.1 but not with latest 15.2 Beta 3 (and probably also not with Beta 2).
The console logs say:
dasd Submitted Activity: com.apple.pushLaunch.com.copany.appid:F51673 at priority 5 <private>
dasd Adding a launch request (<private>) for application <private> by activity <private>
dasd Launch requests for <private>: <private>
dasd Daemon Canceling Activities: {(
com.apple.pushLaunch.com.copany.appid:7BCCA4
)}
dasd CANCELED: com.apple.pushLaunch.com.copany.appid:7BCCA4 at priority 5 <private>!
dasd Removing a launch request for application <private> by activity <private>
SpringBoard cancelActivities: 1 activities were not found: <private>
dasd com.apple.pushLaunch.com.copany.appid:F51673:[
{name: ApplicationPolicy, policyWeight: 50.000, response: {Decision: Absolutely Must Not Proceed, Score: 0.00, Rationale: [{[pushDisallowed]: Required:1.00, Observed:0.00},]}}
], FinalDecision: Absolutely Must Not Proceed}
I am aware that the system might cancel starting the app in background but with the app running in foreground it should always call the method in AppDelegate.
Any hints are welcome...