react-native-safe-area-context
react-native-safe-area-context copied to clipboard
A flexible way to handle safe area insets in JS. Also works on Android and Web!
## Summary When having the app opened on CarPlay only, there are no safe area insets, resulting in the provider just returning `null`. Just returning the children instead does the...
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9. Commits 1ecbf2f 1.1.9 6a3ada9 lib: fixed CVE-2023-42282 and added unit test See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any...
Hi 👋, I've been getting the following error on android only when building a react native app with Hermes and Fabric enabled. Not sure if this a known issue or...
## Summary ### Extends mock capabilities Use `jest.fn` on `useSafeAreaInsets` and `useSafeAreaFrame` to allow the use of Mock Functions method as shown below: ```js import {useSafeAreaInsets} from 'react-native-safe-area-context'; const mockedUseSafeAreaInsets...
## Summary This PR fixes #432 / #130, where the `pointerEvents` prop has no effect when applied to the `SafeAreaProvider`. I share the same use-case as the creator of the...
After installing the React Navigaton package, I get an error when I try to install this package while the system language is Turkish. When I change the system language to...
I am on RN 0.72 using Fabric and unable to build release mode on android with the following error: ``` > Task :react-native-safe-area-context:generateCodegenArtifactsFromSchema FAILED /Users/memetral/dev/personal/rn-monorepo-fabric/node_modules/@react-native/codegen/lib/generators/modules/GenerateModuleH.js:249 return Object.keys(aliasMap) ^ TypeError: Cannot...
Error-- /android/app/build/generated/rncli/src/main/jni/rncli.cpp:36:24: error: expected ';' after top level declarator extern const char react-native-safe-area-context[] = "react-native-safe-area-context"; I am trying to use the new arch with RN 0.72.4 and Safe area library...
I searched the issues and find one: https://github.com/th3rdwave/react-native-safe-area-context/pull/130 it changes the `SafeAreaView` component so it works fine, but `SafeAreaProvider` stays the same, it doesn't work. do you mind to take...
I was thinking of making a PR to improve the memoization and adding imperative get API and also addListener API would that be accepted? The imperative and listener API is...