I have a reminder notification which passes a parameter to my app like this
Reminder closeReminder = new Reminder(somevalue);
closeReminder.BeginTime = testtime;
closeReminder.Content = "Tap here!";
closeReminder.RecurrenceType = RecurrenceInterval.None;
closeReminder.NavigationUri = new Uri("/MainPage.xaml?para=paraone", UriKind.RelativeOrAbsolute);
closeReminder.Title = "Title here";
My problem is, If the application is already opened and reminder pop-up, when i tap on the notification nothing happens. It does not call OnNavigatedTo in the MainPage.xaml.cs even. If the application is not focused, no issues. How can I fix this issue?
It’s not an issue, it’s by design. From Peter Torr’s post: