How to respond to notification action in dynamic notification controller?

Hi,


I have a dynamic notificaiton controller and am setting an action to the `notificationActions` property in the `didReceive(_)` method. This action is not using the foreground launch option. The button displays below the notification, but I cannot seem to get it to actually fire a delegate method in turn.


I have configured the `UNUserNotificationCenter.current()` delegate and implemented the delegate method, but it appears to never be called for the custom action. Am I missing something obvious?