0

When using PushSharp with Windows Phone, I'm sending the notification with a deep link to a view in my app.

push.QueueNotification(new WindowsPhoneToastNotification()
.ForEndpointUri(new Uri(endpoint))
.ForOSVersion(WindowsPhoneDeviceOSVersion.Eight)
.WithBatchingInterval(BatchingInterval.Immediate)
.WithNavigatePath("/Views/DetailView.xaml")
.WithParameter("slug", slug)
.WithText1(text)
.WithText2(message));

But when the toast appears and I touch it to open the app, the app opens to my default view instead of the requested DetailView.

Shouldn't this open to my DetailView?

Rob Gibbens
  • 1,110
  • 1
  • 8
  • 24
  • Related answer: http://stackoverflow.com/questions/20068311/navigation-to-particular-page-not-working-in-windows-phone-toast-notification-us?lq=1 – pazcal Nov 19 '13 at 14:32

1 Answers1

0

You might want to try a path of "~/Views/DetailView.xaml" instead...

Redth
  • 5,092
  • 3
  • 32
  • 53