MALClient icon indicating copy to clipboard operation
MALClient copied to clipboard

Universal Dismiss/Notification Linking for UWP (Desktop and Mobile)?

Open AzureKitsune opened this issue 8 years ago • 3 comments

Hello there.

I have MALClient installed on both my PC and my phone. Since you haven't disabled notification mirroring, I get duplicate notifications on my PC whenever a new anime is added to the MAL database.

Newer UWP apps (as of the Anniversary update iirc) can set a property on their Toast Notifications called "RemoteID" which helps the system identify notifications and merge them. This is usual for universal dismissal and is likely a one line change in your application.

img

I have attached some documentation for the feature below:

AzureKitsune avatar Oct 08 '17 15:10 AzureKitsune

In fact, you could set the Id (defined in MalNotification.cs, line 17) as the RemoteId in NotificationsBackgroundTask.cs on line 186.

AzureKitsune avatar Oct 08 '17 15:10 AzureKitsune

Hello, sorry for late reply. First of all sorry for UWP app being a bit outdated.

If it's just matter of this id, sure no problem.

I hope to play with new UWP acrylics blurs etc. soon so I'll try to update it then :)

Drutol avatar Oct 10 '17 05:10 Drutol

Again... a couple months later(7 actually...), I did implement this but hasn't been confirmed that it works.

Guerra24 avatar May 18 '18 04:05 Guerra24