react-native-heap
react-native-heap copied to clipboard
Crash on start with React Navigation 3.x
Hi, we are seeing this crash a few seconds after the app boots in debug mode with react-native-debugger connected, has anyone else came across this?
React Native: 0.62.2 React Navigation: 3.11.0
"name": "TypeError",
"message": "Cannot read property 'routes' of null",
"stack": "TypeError: Cannot read property 'routes' of null"
"at Function.getActiveRouteNames (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:66191:37)"
"at Function.getActiveRouteProps (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:66182:26)"
"at HeapNavigationWrapper.trackInitialRouteForState (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:66690:66)"
"at http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:66737:28"
"at http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:66347:18"
"at commitAttachRef (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:25470:13)"
"at commitLayoutEffects (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:27844:13)"
"at Object.invokeGuardedCallbackImpl (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:13392:16)"
"at invokeGuardedCallback (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:13486:37)"
"at commitRootImpl (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:27624:15)"
This is also happening on React Navigation V4.4.0