react-native-safe-area-context icon indicating copy to clipboard operation
react-native-safe-area-context copied to clipboard

No safe area value available. make sure you are rendering safeareaprovider at the top of your app

Open illestomas opened this issue 6 months ago • 1 comments

The latest react native version (0.80.1) crashes with the error mentioned in the title. I have installed the latest version of both react-native-screens and react-native-safe-area-context. The welcome screen of the app can render the screen and read safe area values, but after navigating to another screen, it crashes with the error. Are you guys supporting the latest RN version?

illestomas avatar Jul 03 '25 14:07 illestomas

Having the same issue, I'm getting a Warning: Error: No safe area value available. Make sure you are rendering `<SafeAreaProvider>` at the top of your app. when I use the useSafeAreaInsets hook. When it's already at the top of the app. However using the SafeAreaView does not crash the app.

It's stated in the documentation that the library has experimental support for the new react-native architecture, we have to wait (or contribute) I guess.

Using react native 0.79.5 with new architecture enabled, in Android, and using react-native-safe-area-context 5.5.2 (latest).

micm0 avatar Jul 16 '25 17:07 micm0