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

[Android] initialWindowMetrics with insets on screen with no notch

Open pesseyjulien opened this issue 3 years ago • 4 comments

Hi,

I'm having an issue using the SafeAreaView on Android, the initialWindowMetrics comes with bottom/top insets whereas the emulator device has no notch (see enclosed).

'Metrics ', { frame: 
       { height: 659.4285888671875,
         y: 24,
         width: 411.4285583496094,
         x: 0 },
      insets: { right: 0, bottom: 48, left: 0, top: 24 } }

Capture d’écran 2021-03-16 à 18 11 01

Any idea what could be wrong on my side ?

Thanks in advance for your help

, Julien Pessey

pesseyjulien avatar Mar 16 '21 17:03 pesseyjulien

@pesseyjulien Did you find any fix for that?

impe93 avatar Aug 13 '21 10:08 impe93

@impe93 Nop !

pesseyjulien avatar Aug 23 '21 08:08 pesseyjulien

I have the same issue !

christophemenager avatar Oct 11 '21 15:10 christophemenager

I have the same issue !

BridgeEast avatar Dec 21 '21 08:12 BridgeEast

It might be the status bar

jacobp100 avatar Jan 19 '23 16:01 jacobp100