Closed
Description
Example:
<Router hideNavBar={true}>
<Schema name="default" sceneConfig={Navigator.SceneConfigs.FloatFromRight} />
<Schema name="tab" type="switch" icon={TabIcon} hideNavBar={true} />
<Schema name="modal" sceneConfig={Navigator.SceneConfigs.FloatFromBottomAndroid} />
<Route name="login" component={LoginWrapper} title="Login" initial={true} />
<Route name="content">
<Router footer={TabBar} hideNavBar={true}>
<Route name="stream" title="stream" component={StreamNavigator} schema="tab" initial={true}/>
<Route name="popular" title="popular" component={PopularContainer} schema="tab"/>
<Route name="notifications" title="notifications" component={NotificationsContainer} schema="tab" />
<Route name="user" title="user" component={UserContainer} schema="tab" />
</Router>
</Route>
</Router>
When I navigate to "stream" via the TabBar, and then call Actions.currentRouter.currentRoute
it returns content
instead of stream
Any ideas?