profile
viewpoint

Ask questionsTop inset wrong when using hidden StatusBar in IOS

When using <StatusBar hidden /> in IOS, top inset is 20 instead of 0. It corrects itself after device is rotated to landscape and back.

https://snack.expo.io/SkroOuDAS

Tested phones:

  • iPhone 7 IOS 13.3 (has bug)
  • iPhone X IOS 13.3 (does not have bug)
  • various Android devices (does not have bug)
th3rdwave/react-native-safe-area-context

Answer questions janicduplessis

Duplicate #23

useful!

Related questions

Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager.
Invariant Violation: requireNativeComponent: &#34;RNCSafeAreaProvider&#34; was not found in UI Manager. - react-native-safe-area-context hot 2
Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager. hot 2
E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules hot 1
Violation: requireNativeComponent: &#34;RNCSafeAreaView&#34; was not found in the UIManager. - react-native-safe-area-context hot 1
Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager. hot 1
Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager. hot 1
how to properly mock this package? hot 1
Understanding the inset values hot 1
TypeScript compilation failing hot 1
Autolinking not finding podspec in monorepo hot 1
Violation: requireNativeComponent: "RNCSafeAreaView" was not found in the UIManager. hot 1
SafeAreaProvider, useSafeArea, and SafeAreaConsumer not Working hot 1
Understanding the inset values hot 1
Github User Rank List