Navigation Issue in Tabnavigation

I am working on a react native Project, where I am using both Stack navigator and Tab navigator.
The main flow of the application should be in stack navigation.I have added a button on one of the screens which is in tab navigation but the navigation is not happening!
How can I get that kindly help me out
Sample code :

const Nav = createStackNavigator({
Splash: Splash,
Login: Login,
Tab:tab
})
const Tab=createBottomNavigator({
Home:Home,
Profile:Profile // i added button in this screen want to navigate to Login
})

Able to solve it,
Refernce:https://stackoverflow.com/a/51725584/9775393

@nisha_nishu,

Glad you figured it out! Thanks for posting the solution as well!

Cheers,

Adam

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.