Skip to content

Conversation

@sbuggay
Copy link
Contributor

@sbuggay sbuggay commented Jan 12, 2026

Summary:
RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns ios so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Differential Revision: D90514023

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 12, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 12, 2026

@sbuggay has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90514023.

sbuggay added a commit to sbuggay/react-native that referenced this pull request Jan 13, 2026
Summary:

RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns `ios` so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Differential Revision: D90514023
sbuggay added a commit to sbuggay/react-native that referenced this pull request Jan 13, 2026
Summary:

RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns `ios` so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90514023
Summary:

`multipleTouchEnabled` is not available for UIViews for AppleTV, compiling them out.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90513833
Summary:

UIOrientation usage is unsupported on AppleTV, compiling out.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90513975
…55129)

Summary:

TextInput uses a lot of UIKit APIs that are unavailable on AppleTV, compiling them out.

Changelog: [internal]

Reviewed By: shwanton

Differential Revision: D90514227
Summary:

Compile out unsupported UIKit APIs used by RCTView and it's manager.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90513795
Summary:

[UIColor systemBackgroundColor] is unavailable on AppleTV, defaulting to [UIColor clearColor].

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90514013
Summary:

RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns `ios` so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90514023
sbuggay added a commit to sbuggay/react-native that referenced this pull request Jan 13, 2026
Summary:

RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns `ios` so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90514023
@meta-codesync meta-codesync bot closed this in 400a3b5 Jan 14, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 14, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 14, 2026

This pull request has been merged in 400a3b5.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants