Hi, while developing an app I needed to be able to hide a tab in the TabBarBottom. I forked react-navigation and implemented the feature (https://github.com/drash-course/react-navigation/tree/feat-hidden-tabs).


To hide a tab by default, you can write:

const tabNav = TabNavigator(myRoutes, {

hiddenTabs: ['SomeTab']



To make the tab visible in the TabBar again, you can write:


NavigationActions.showTab({ tabRouteName: 'SomeTab' })



If you think this is a good idea please vote!