Closed harrisonlo closed 5 years ago
Google added a great API for notches in Android P I think. But it's much more complicated than the 1 notch on iPhones. So it sounds like a completely different lib to me.
I suggest to use https://github.com/react-native-community/react-native-device-info#hasNotch for this.
I think this one is a good idea. Also, i think it is great to detect the soft navigation bar height and visibility on android too?