locked
How to get notification message? RRS feed

  • Question

  • I'm using Azure NotificationHub for sending toast notifications to my UWP App and it all works fine. But sometimes message I send is too long and cannot be displayed entirely in notification. Is there a way for my app to get that message from notification (and perhaps display it in e.g. TextBlock inside app itself)?
    Friday, November 13, 2015 10:14 AM

Answers

  • Hi,

    You will need to grab the notification within your app when it gets the push. https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.pushnotifications.pushnotificationreceivedeventargs?f=255&MSPPError=-2147217396 might be helpful.

    Thanks,

    Mimi

    • Proposed as answer by Mimi Xu Wednesday, November 18, 2015 8:16 PM
    • Marked as answer by Džemal Čengić Wednesday, November 18, 2015 9:02 PM
    Wednesday, November 18, 2015 2:25 AM