I have a background task for a UWP which can be triggered once a push notification occurs, but I want to trigger the task for normal toast notifications activated when the App is in background.
I found that ToastNotificationActionTrigger
can do so but it can only trigger the BG task when the activation type is set to background for that notification.
Is there a work around for differentiating when a toast notification is received and activated with App in BG with that of a toast notification activated in Foreground.