I am sending toast notifications to windows phone 8 using push sharp and getting those notification. Currently when I tap on toast app launches and first page of the my app opens up. But instead of this i want to navigate to particular page of my app when i click on toast.
I think for that I have to use .withParameter()
extension of WindowsPhoneToastNotification, but I am not able to get what should be passed in key and value pair of this extension. Also .withNavigatePath()
is also not working.
Using this updated code.But still no success.App is not navigating to the desired page.
push.QueueNotification(new WindowsPhoneToastNotification()
.ForEndpointUri(new Uri("MYDeviceEndpointURI"))
.WithNavigatePath("/Home.xaml")
.WithText1("PushSharp")
.WithText2("This is a Toast"));
.WithParameter("param1","1")