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

A flexible way to handle safe area insets in JS. Also works on Android and Web!

Results 152 react-native-safe-area-context issues
Sort by recently updated
recently updated
newest added

If I need to add several SafeAreaViews on my screen, then the bottom one will still take a safe distance, although there is another component above it, and in theory...

I am getting this error message: ``` TypeError: _NativeSafeAreaContext.default.getConstants is not a function at Object. (node_modules/react-native-safe-area-context/lib/commonjs/InitialWindow.native.ts:4:61) at Object. (node_modules/react-native-safe-area-context/lib/commonjs/index.tsx:3:1) ``` Running version `4.2.2`

## Summary Update deprecrated usage of remove. ``` The signature '(type: "change", handler: ({ window, screen }: { window: ScaledSize; screen: ScaledSize; }) => void): void' of 'Dimensions.removeEventListener' is deprecated.ts(6387)...

I'm using react-native-safe-area-context in combination with [react-native-android-immersive-mode](https://github.com/jayli3n/react-native-android-immersive-mode) but the bottom inset value seems to still include the navigation bar height even though it's not there (see [official Android docs on...

enhancement
help wanted
Platform: Android

Hi, I'm using ``` "react-native-safe-area-context": "3.0.7" "react-native": "0.62.2" "expo": "38.0.8" ``` and when I call const insets = useSafeAreaInsets(); on Android it returns 0 for top inset, on iOS it...

bug
need more info

When I build Android app (react native 0.68.1) using arm based MacBook Pro M1, I receive 'Unknown host CPU architecture: arm64' error. This happens because library uses default ndkVersion, but...

Am facing the above error while upgrading react-navigation from 4 to 5: please find the Url https://github.com/react-navigation/react-navigation/issues/8964 for more info:

Hello, When setting up the mock for jest, I face a typescript error: > Could not find a declaration file for module 'react-native-safe-area-context/jest/mock'. The [mock](https://github.com/th3rdwave/react-native-safe-area-context/blob/v3.3.2/jest/mock.js) is currently a JS file,...

I have found that when using this module for insets, clicking a push notification whilst the app is terminated causes incorrect calculations for insets Opening terminated app: insets.bottom = 0...

We have such a problem if the following setting is enabled on Xiaomi Mi8. `Display -> Control center & Notification shade -> Hide notch -> Hide without moving status bar`