Windows Phone 8.1 apps - Intercepting toast notifications RRS feed

  • Question

  • How can i intercept and delete notifications when my app server sends one to the app. but it is already running?
    Friday, June 6, 2014 9:12 PM

All replies

  • Why don't you intercept it on the server rather than the phone? What you're asking doesn't really make much sense to me.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, June 9, 2014 12:39 PM
  • For WNS your app can handle the PushNotificationReceived event:


    If you're app wants to handle the notification internally set the PushNotificationReceivedEventArgs::Cancel property to true.

    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

    Monday, June 9, 2014 7:01 PM