Skip to content

Implement NativeSafeArea APIs to support forced edge-to-edge#46051

Closed
alanleedev wants to merge 1 commit into
react:mainfrom
alanleedev:export-D61293744
Closed

Implement NativeSafeArea APIs to support forced edge-to-edge#46051
alanleedev wants to merge 1 commit into
react:mainfrom
alanleedev:export-D61293744

Conversation

@alanleedev

Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Internal]
(added extension function to PixelUtil)

With Android 15, apps built with targetSdk 35 will have edge-to-edge enforced.
This means that content will be expanded to fill the whole screen and will be rendering below system bars like status bar and navigation bar.
This change will add support to return proper inset values for apps running on Android 15 w/ targetSDK of 35.

SafeArea.js calls NativeSafeArea for the implementation.

Non-goal: This is to just to support forced edge-to-edge for A15 in Meta internal apps and not intended as an general edge-to-edge support for OSS.

Differential Revision: D61293744

@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 15, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…6051)

Summary:
Pull Request resolved: react#46051

Changelog: [Internal]
(added extension function to PixelUtil)

With Android 15, apps built with `targetSdk` 35 will have edge-to-edge enforced.
This means that content will be expanded to fill the whole screen and will be rendering below system bars like status bar and navigation bar.
This change will add support to return proper inset values for apps running on Android 15 w/ targetSDK of 35.

[SafeArea.js](https://www.internalfb.com/code/fbsource/xplat/js/RKJSModules/Libraries/SafeArea/specs/SafeArea.js) calls NativeSafeArea for the implementation.

Non-goal: This is to just to support forced edge-to-edge for A15 in Meta internal apps and not intended as an general edge-to-edge support for OSS.

Differential Revision: D61293744
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added Stale There has been a lack of activity on this issue and it may be closed soon. and removed Stale There has been a lack of activity on this issue and it may be closed soon. labels Aug 23, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added Stale There has been a lack of activity on this issue and it may be closed soon. and removed Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 21, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing as this PR is no longer needed

@alanleedev alanleedev deleted the export-D61293744 branch June 4, 2026 09:51
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 p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants