Reloading the application on Android emulator (google pixel 5), I am receiving the following error:
screenshot of android emulator with error
TypeError: undefined is not an object (evaluating 'config.props')
This error is located at:
in NativeStackNavigator (created by wrappedComponent)
in wrappedComponent (created by AppNavigator)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by AppNavigator)
in AppNavigator (created by App)
in ErrorBoundary (created by App)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by App)
in ThemeProvider (created by App)
in QueryClientProvider (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
at node_modules/@sentry/utils/dist/instrument.js:111:20 in <anonymous>
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:172:19 in handleException
at node_modules/react-native/Libraries/Core/ReactFiberErrorDialog.js:43:2 in showErrorDialog
I've tried to update to the latest compatible version of react navigation.
expo install @react-navigation/native-stack
expo install @react-navigation/native
expo install @react-navigation/stack
...and expo doctor
didn't find any issues with the project.
my setup:
- expo: v44
- @react-navigation/native: ^6.0.10
- @react-navigation/native-stack: ^6.0.2
- @react-navigation/stack: ~6.0.1