Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Conversation

@amyboyd
Copy link

@amyboyd amyboyd commented May 2, 2018

These are useful methods to have exported.

@brentvatne
Copy link
Member

I think in the future we want to handle this using an approach like facebook/react-native#20999 - so you detect whether there is an inset or not rather than a specific device. As for isIPad, this is already built into react native: Platform.isPad https://github.com/facebook/react-native/blob/c33a7daf322c1aad51d0c31785c957fc99a2da6c/Libraries/Utilities/Platform.ios.js#L21-L24

Nonetheless I appreciate the PR, apologies that nobody got around to reviewing this earlier! I'll start helping out on this repo more.

@brentvatne brentvatne closed this Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants