I want to open a particular page if the notification is clicked. How to do it in React Native?
this.notificationListener = firebase.notifications().onNotification((notification: Notification) => {
this.notificationDisplayedListener = firebase.notifications().onNotificationDisplayed((notification: Notification) => {
// Process your notification as required
// ANDROID: Remote notifications do not contain the channel ID.
// You will have to specify this manually if you'd like to re-display the notification.
const { title, body } = notification; }
);
const { title, body } = notification;
});