Sunhat / react-native-extra-dimensions-android

Access additional display metrics on Android devices: status bar height, soft menu bar height, real screen size.
ISC License
430 stars 131 forks source link

ExtraDimensions.isSoftMenuBarEnabled() always returns false #46

Open renwenci opened 5 years ago

renwenci commented 5 years ago

i tried in android Emulator and XiaoMi 8 both, this method always returns false, and android_real_height still returns the actual height + soft_bar_height when i turn off the soft bar.which means i will never know whether the user turns off the soft bar.

renwenci commented 5 years ago

https://github.com/facebook/react-native/issues/14887 this problem seems to been exited for a long time

Sunhat commented 5 years ago

Hi,

I'm just opening an emulator to look this. I'm not a Java dev tho

andrey-shostik commented 5 years ago

tested on redmi note 7, and it always return false

CaoThien96 commented 5 years ago

I tested on Redmi not 6 pro, and it always return undefined

Sunhat commented 5 years ago

I just cannot believe that this package is required. How do all other companies solve these problems?

ManigandanRaamanathan commented 4 years ago

still facing same issue

ethanleeX commented 4 years ago

same issue

yuanbolin commented 4 years ago

同样的问题

yuanbolin commented 4 years ago

各位有解决办法吗

wxsms commented 4 years ago

same issue

caijiami commented 3 years ago

@Sunhat @andrey-shostik @LyCharlie @CaoThien96 Someone can fix it