Skip to content

add getHomeIndicatorHeight for iOS devices#9

Open
7laria wants to merge 2 commits intoovr:masterfrom
7laria:master
Open

add getHomeIndicatorHeight for iOS devices#9
7laria wants to merge 2 commits intoovr:masterfrom
7laria:master

Conversation

@7laria
Copy link
Copy Markdown

@7laria 7laria commented Mar 13, 2019

No description provided.

android: skipAndroid ? 0 : StatusBar.currentHeight,
default: 0
})
isIPhoneXR = PixelRatio.get() === 3;
Copy link
Copy Markdown
Owner

@ovr ovr Mar 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! I suggest to replace this code with

const XR_WIDTH = XXX;
const XR_HEIGHT = XXX;

height == XR_WIDTH || width == XR_HEIGHT

What do you think?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants