0

I searched & checked these 2 links

React-Native Detect Screen Notch

https://github.com/ovr/react-native-status-bar-height

what I got , I can detect the notch height , but I'd like to know more details

how much height in top and in bottom

because my current device has a bottom notch , and IPhone X has notch in top & bottom with different height size in each side

using SafeAreraView did not help

Please check the attached image

Check this image

1 Answers1

0

I don't think Expo 36 has the fullscreen option on android especially (hiding the bottom navbar). It will be available in the next release it seems: https://github.com/expo/expo/pull/7049

You should wait for the next expo release and try it then (instructions in the above PR):

in app.json
{
  androidNavigationBar: {
    visible: 'leanback' // or some other type you want
  }
}
tudor.gergely
  • 4,800
  • 1
  • 16
  • 22
  • Your answer helped , but till now it only support true and false - advanced features like 'leaseback' , 'immersive' and 'sticky' will help – Ahmed Mohsen Mar 08 '20 at 13:00