5

I have a notification service extension for my app for modifying my regular push notifications, which works fine. The didReceive method in the extension is overriding the didReceiveRemoteNotification method in AppDelegate. However, if I send a silent notification or just a notification without the 'mutable-content' parameter set to true, the extension is not called (as expected). But, didReceiveRemoteNotification is not called either, so I have no way to handle the notification.

Without the extension, didReceiveRemoteNotification is being called on silent notifications and notifications without 'mutable-content' set. Shouldn't it be called in my case as well? Or am I misunderstanding something about the extension?

de.
  • 7,068
  • 3
  • 40
  • 69
thedoop
  • 81
  • 1

0 Answers0