Local notification from PacketTunnelProvider doesn't recognise the app when clicked

Hello everyone,

I have implemented local notifications on a macOS app using the UserNotifications framework in the PacketTunnelProvider of Network Extension. Notifications are sent and displayed successfully from the extension. They are also showing the correct app icon when shown in Notification Centre but when I clicked on the notification, the system is not able to recognize the containing app and is showing this modal window:

Can it be something with the bundle id that has to be set up explicitly when sending the notification from the extension?

We have the same approach in the iOS application and clicking on the notification opens the app correctly.

I would really appreciate the guidance here. Thank you very much!

when I clicked on the notification, the system is not able to recognize the containing app

I’d consider that to be a bug and I encourage you to file it as such. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you, Eskimo. The bug was filed under FB12082085

Local notification from PacketTunnelProvider doesn't recognise the app when clicked
 
 
Q