BackGround Task to trigger if any changes in the Action Center
I need to trigger my background task when the application added the toast notification to the action center. I have tried with ToastNotificationHistoryChangedTrigger and it's not triggering the task when the application added the toast notification. Is there any solution for it? ToastNotificationHistoryChangedTrigger is fired whenever the collection of toast notification history from your app changes on the device. Subscribing this trigger, will allow your app to get notified when: A toast notification is removed by the user from action center; A toast notification is expired and removed by