Open linweiboy opened 2 years ago
what is the react-navigation version you are using?
@NagavikasPulluri 4.4.4
+1
I fix this bug by downgrading this package :
"react-native-reanimated": "^1.7.1", "react-native-gesture-handler": "^1.6.1", "react-native-router-flux": "^4.2.0",
Version
Tell us which versions you are using:
I am using yarn install my package.json
At first, I wrote TabBar by myself through React-native router-Flux, and then I found this problem: TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[31], "react-navigation-tabs").createMaterialTopTabNavigator')
Later, when I wrote TabBar according to the official Demo, this problem still appeared.
const Routers = () => ( <Router sceneStyle={styles.scene} onStateChange={stateHandler} uriPrefix={prefix} key="rootRouter">