My question is simple but I'm not being able to find any documentation about this.
I have a notification that the app sends to the user periodically if the user is not loggeIn, when the user taps on the notification it opens the app and opens the "Login" screen, the problem is that if the app is killed the app opens but it doesn't navigate to the "Login" screen, it stays at the home screen.
Any ideas how to do this?
Thank you very much in advance
Right now I'm using RootNavigation.navigate('Login') when the user taps on the notification.
Your problem is that navigation not loaded yet in moment you use Root Navigation.navigate(). You can make it like this
NavHelper it helper from documentation https://reactnavigation.org/docs/navigating-without-navigation-prop/