I have a StackNavigator(1) with 5 screens. After 3rd screen I am navigating into another StackNavigator(2) screen and after some action on the second StackNavigator(2) screen I need to come back to Stack StackNavigator(1) 4th screen and should be able to go back to history in StackNavigator(1) using navigation.goBack()
I am able to come back to Stack StackNavigator(1) 4th screen but when i use navigation.goBack() it is not going to StackNavigator(1) 3rd screen
I need to save and restore the navigation history in StackNavigator(1).
Please let me know is there any way to achieve this.
