react-native-extra-dimensions-android
react-native-extra-dimensions-android copied to clipboard
Access additional display metrics on Android devices: status bar height, soft menu bar height, real screen size.
When you have a style in your project like so: ``` const styles = StyleSheet.create({ container: { height: ExtraDimensions.get('REAL_WINDOW_HEIGHT'), }, }); ``` all keyboard events will be broken. When app...
Tried to build iOS app, then i run to this issue.
See #63 and #52
Project need add file react-native.config.js to update "rnpm" props in packages.json.
Hi, Add fix for the minimum version of Android SDK for React Native 0.64.
Redmi Note 7 pro Has a soft menu. ExtraDimensions.isSoftMenuBarEnabled() gives false
warn The following packages use deprecated "rnpm" config that will stop working from next release: - react-native-extra-dimensions-android: https://npmjs.com/package/react-native-extra-dimensions-android Please notify their maintainers about it. You can find more details at...
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...
The hook `useWindowDimensions` automatically updates width and height values when screen size changes. https://reactnative.dev/docs/usewindowdimensions Thanks!