My Ionic 2 App is already receiving push notifications. When you click on a notification (the application is closed), the application opens and displays the root page.
How to determine another page to display when the application opens after a notification has been clicked?
Ideally, I would pass in a push alert another field parameter called a "page", where I can determine which page to open.
Now all I do is to handle notifications inside my application:
this.push.rx.notification()
.subscribe((msg) => {
alert(msg.title + ': ' + msg.text);
});
source
share