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 Updated the Podspec for iOS so that it supports the latest versions of React Native (`0.69.x`). The dependency needs to be "React-Core" now instead of "React" in order...
I am updating my current application to RN version 0.69.3 so as to reap the benefits of Hermes and TurboModules. I use React Navigation which is dependent on this library....
Hey. Im trying to install navigation in my application. ### Environment: MacBook Pro M1 | 12.5 Xcode 13.4.1 Node 18.6.0 Npm 8.15.0 These are the dependencies: ``` "react": "17.0.2", "react-native":...
``` node_modules/react-native-codegen/lib/parsers/typescript/index.js:191 throw parsingErrors[0]; ^ UnusedModuleTypeScriptInterfaceParserError: Module NativeSafeAreaContext.d: Unused NativeModule spec. Please load the NativeModule by calling TurboModuleRegistry.get('').
`react-native-safe-area-context` builds fine w `newArchEnabled=false` but fails w `newArchEnabled=true` Context - https://github.com/reactwg/react-native-releases/discussions/26#discussioncomment-3327849 Repro - https://github.com/leotm/react-native-template-new-architecture/pull/842 Repro (minimal) - https://github.com/leotm/RN070RC2 _Can also repro locally on macOS 13b_
I have an iphone xr, which has a top notch and a soft bottom nav button thing. This looks correct for portrait: `this.props.insets = {"bottom": 34, "left": 0, "right": 0,...
## Summary When you are building on android using the new architecture, required architecture check is missing. Running the command: `react-native run-android --active-arch-only` will fail if you don't first build...
Hi, I'm writing a web/native app using `react-navigation` and `react-native-web`. Whenever I attempt to run it on the web, I get this issue from webpack: ``` ERROR in ../../../.yarn/unplugged/react-native-virtual-f8f4313058/node_modules/react-native/Libraries/Utilities/codegenNativeComponent.js 14:12...
In all of my applications, I have helper components that look like this for applying safe area insets: ```jsx function BottomInsets() { return ( ) } ``` I find that...