Open URL from NotificationContentExtension

I have a NotificationContentExtension, to create a custom view for a notification.

This view contains several links (crucially, these are not defined as .

The desired behavior is to open the url in a webview in my main app. However, using self.extensionContext.open opens the url in safari. Given that UIApplication.shared is not available in an extension, how should I go about opening a url in my main app from a notification?

Open URL from NotificationContentExtension
 
 
Q