How to manipulate push notification message received in WP8 when application is not running RRS feed

  • Question

  • Our WCF restful service pushes notification to the phone in below mentioned json format


    After receiving this notification I need to have payload to work on json data that is received & extract the message, page to which the application need to redirect after user clicking on the same. Kindly suggest what can be done for the same as for now I'm using the below code but it is not serving my purpose to extract the data

    pushChannel.ShellToastNotificationReceived += new EventHandler<NotificationEventArgs>(PushChannel_ShellToastNotificationReceived);

    as it only work when the application is running.

    How can I have payload to modify the message when the application is not running and it receive an notification as now it is showing notification with the same json format when I receive the notification which is directly I suppose handled by the OS

    Friday, January 22, 2016 12:06 PM