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.