Closed Gowthamraj2399 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.
any solution for this
I think your issue stems from the fact that your initial navigator (possible some only for unauthorized users) does not contain the actual route you are trying to navigate to because it gets mounted after authentication happened. React-navigation threw an error in the packager so try to look for it.
The navigation inside registerNotificationOpened event takes me to the initial page of the navigation stack.
Notifications.events().registerNotificationOpened(notification => { console.log('Notification opened by device user', notification.payload); RootNavigation.navigate('Chat'); });