locked
how to navigate page on Toast Notification Tap? is it working through code but in package is not working

    Question

  • how to navigate  page on Toast Notification Tap?  is it working through code but in package is not working.
    Thursday, April 24, 2014 4:51 AM

All replies

  • What do you mean that it is working through code but not in package? Can you please explain more clearly what you are doing, what the desired behavior is, and how that differs from the actual behavior?

    --Rob

    Thursday, April 24, 2014 5:53 AM
    Owner
  • When we test the app through code then app is working properly and page navigate to specified URL on Toast notification tapped  but when we test the package on toast notification tapped only app is open. page is not navigated to specified Url.
    Thursday, April 24, 2014 6:05 AM
  • you mean if you deploy with visual studio it is working, otherwise it isnt?

    did you try to deploy with visual studio, make sure the app isnt running and try then the toast notification?


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, April 24, 2014 9:07 AM
  • yes App is not running.  when we create App package and install the app then toast notification tapped is not working. we want on toast notification tapped page is navigated on specified URL. is it opened only App.

    Thursday, April 24, 2014 9:18 AM
  • Hi Akash,

    Here are some things you can check :

    1) Make sure the parameter passed through the Toast notification is valid. Usually, it is specified in the Launch attribute of the <toast> element. You can read the parameter for Toast notifications using the LaunchActivatedEventArgs.Arguments  

    2) You can also check the App.xaml.cs code for the "OnLaunched" method, which is the first method to be called when app is activated through Toast launch. You can write some code there to verify if the parameters are passed correctly.

    You can also check for general guidance about Toast notifications here  and download the sample from this URL

    If the data for Toast notification is coming from a Push Notification Service (such as WNS), then you would want to check the parameters/payload data received by the app.

    Sagar

    Thursday, April 24, 2014 2:48 PM
  • one thing I have Notice in my App is .Toast notification tapped is Working in windows 8.1 through package And I am created this app in windows 8.When we deploy the project through code in wimdow8 and 8.1 Toast notification tapped is working But in Window 8 toast notification tapped  is  not working through package.
    Friday, April 25, 2014 10:35 AM
  • Hi Akash,

    Could you please share a sample project that replicates the problem (along with the related steps)?

    Sagar

    Tuesday, April 29, 2014 9:48 AM