Notification Service Extension not working for macOS app

The target for remote push notifications "Notification Service Extension" is not working. Have done all the steps mentioned in the apple documentation and this


func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Vo


The above function from UNNotificationServiceExtension is not getting triggered for remote notifications.


Running this app on macOS 10.14.6 and Xcode 10.2.1

is it not available for macOS as mentioned in this link?? If not how is it that I am able to create an extension for that?
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214-CH20-SW1
Any kind of information regarding this problem would be of great help.

Hi there. Did you find any solutions?

I did notice that there is a "(iOS)" after Notification Service in this link: App Extension Programming Guide.

So does that mean Notification Service is not supported on macOS after all?

[@Padma Sravani](https://developer.apple.com/forums/profile/Padma Sravani) hello, did you fix that? The same in iOS 17.2

Notification Service Extension not working for macOS app
 
 
Q