Access additional display metrics on Android devices: status bar height, soft menu bar height, real screen size. Based on the react-native-extra-dimensions-android project. Support New Architectures
npm install react-native-display-size
const realWindowHeight: number = getRealWindowHeight();
const realWindowWidth: number = getRealWindowWidth();
const softMenuBarHeight: number = getSoftMenuBarHeight();
const statusBarHeight: number = getStatusBarHeight();
const smartBarHeight: number = getSmartBarHeight();
const softMenuBarEnabled: number = getSoftMenuBarEnabled();
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library