About push multi notifications to one device at same time!

Category: windows phone push


Vimass on Mon, 27 Apr 2015 07:04:32

I have some issue about push notification:

I want show badge on shortcut app on main window, and simultaneously i want show toast notification for it. So how to i can push 2 notifications with 2 (or more) difference types at the same time? Or i can use raw notification to get data the show it in badge and toast notification.


Eric Fleck on Mon, 27 Apr 2015 14:52:30

A notification can only contain a single type of payload. (i.e. toast, tile, or raw).

If you're using WNS notifications in a Windows Runtime application then you could register a background task to handle the PushNotificatTrigger to take custom action when a notification arrives.

see: Raw notification overview and Supporting your app with background tasks