We found the problem. When we implemented the delegate methods for remote notifications we use didReceiveNotification delegate without completion handler. Before the update to XCode 16 did method is called with normaly but after we update to XCode 16 this method not called more with the app signed with distribution certificates but works well with development certificates.
We change the delegate method for the new delegate method with completion handler:
didReceiveRemoteNotification userInfo: [AnyHashable: Any],
fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void
)
and voila! all the notifications continue working normally.
Its curious but de deprecated method continue works when build in develop mode but stop working when build for production.
Topic:
App & System Services
SubTopic:
Notifications
Tags: