Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make notch detection more future proof #38940

Closed
wants to merge 1 commit into from

Conversation

philIip
Copy link
Contributor

@philIip philIip commented Aug 11, 2023

Summary:

Changelog:

[Internal] - make notch detection more future proof

current implementation of isIPhoneX_deprecated is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Differential Revision: D48254737

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Aug 11, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

@analysis-bot
Copy link

analysis-bot commented Aug 11, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,948,723 +24
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,542,445 -4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 7cd6996
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

philIip added a commit to philIip/react-native that referenced this pull request Aug 11, 2023
Summary:
Pull Request resolved: facebook#38940

## Changelog:
[Internal] - make notch detection more future proof

current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Differential Revision: D48254737

fbshipit-source-id: 2e36c468e4ac625599b4ddac3768ade8b7d76221
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

philIip added a commit to philIip/react-native that referenced this pull request Aug 11, 2023
Summary:
Pull Request resolved: facebook#38940

## Changelog:
[Internal] - make notch detection more future proof

current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Reviewed By: cipolleschi

Differential Revision: D48254737

fbshipit-source-id: d75ec8fa543080f6488f2f07923462e71c5511d8
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

philIip added a commit to philIip/react-native that referenced this pull request Aug 11, 2023
Summary:
Pull Request resolved: facebook#38940

## Changelog:
[Internal] - make notch detection more future proof

current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Reviewed By: cipolleschi

Differential Revision: D48254737

fbshipit-source-id: 5063fb66a965e31841d6baa375ab6f63cda37b39
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

philIip added a commit to philIip/react-native that referenced this pull request Aug 11, 2023
Summary:
Pull Request resolved: facebook#38940

## Changelog:
[Internal] - make notch detection more future proof

current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Reviewed By: cipolleschi

Differential Revision: D48254737

fbshipit-source-id: 79f88ded9ab56fa2ae50f48bfddaf6d55c37de63
Summary:
Pull Request resolved: facebook#38940

## Changelog:
[Internal] - make notch detection more future proof

current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out.

Reviewed By: cipolleschi

Differential Revision: D48254737

fbshipit-source-id: 4bbb1cb3b9a4248e44dc43db65b3dd8b017a67ac
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48254737

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 11, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6d822b4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants