Closed zhaohysjdd closed 6 years ago
This is indeed a problem, also arising with navigator.geolocation. I mitigated the problem by moving the navigator.geolocation to the same file as the tab navigator, and passing the results as props to the tabs.
Will close since this issue is more than a year, feel free to a open a new if this is still a issue.
In my project , I want to use function of navigator in child component of Tabnavigator such as navigator.push.but it
s does
t work.`_renderTabItem(img,selectedImg, tag, childView) {
<TabNavigator hidesTabTouch={false} tabBarStyle={tabBarStyle} sceneStyle={sceneStyle}> {this._renderTabItem(HOME_NORMAL, HOME_FOCUS, HOME, <ListPage/>)}
I want in