I have updated my app to the latest react native version and I am using the latest library version of the library react-native-safe-area-context and I have already installed it. I have also installed the libraries:
“@react-navigation/material-top-tabs”: “^6.6.13”,
“@react-navigation/native”: “^6.1.17”,
“@react-navigation/native-stack”: “^6.9.26”,
“@react-navigation/stack”: “^6.3.29”,
However, when I want to run the app, I get these errors:
ERROR Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
This error is located at:
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by AppWrapper)
in AppWrapper (created by App)
in App (created by RootApp)
in ReactNativeProfiler (created by RootApp)
in RCTView (created by View)
in View (created by __Sentry.TouchEventBoundary)
in __Sentry.TouchEventBoundary (created by RootApp)
in RootApp
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in PIIPEWorkplace(RootComponent), js engine: hermes
ERROR Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
This error is located at:
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by AppWrapper)
in AppWrapper (created by App)
in App (created by RootApp)
in ReactNativeProfiler (created by RootApp)
in RCTView (created by View)
in View (created by __Sentry.TouchEventBoundary)
in __Sentry.TouchEventBoundary (created by RootApp)
in RootApp
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in PIIPEWorkplace(RootComponent), js engine: hermes
ERROR Invariant Violation: requireNativeComponent: "RCTView" was not found in the UIManager.
This error is located at:
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in LogBox(RootComponent), js engine: hermes
ERROR Invariant Violation: requireNativeComponent: "RCTView" was not found in the UIManager.
This error is located at:
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in LogBox(RootComponent), js engine: hermes
I tried downgrading the safe-area-context library but I had no luck