Update apps for SceneDelegate support (#57717) - #57717
Open
cipolleschi wants to merge 4 commits into
Open
Conversation
Summary: Update `RCTDeviceInfo` to refresh cached dimensions when the interface frame, orientation, or content size changes. This provides fresh values from native `getConstants()` after dimension changes. Changelog: [iOS][Fixed] - Refresh `DeviceInfo` constants after interface dimension changes Reviewed By: javache Differential Revision: D113401534 Pulled By: cipolleschi
|
@cipolleschi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113758227. |
|
Warning JavaScript API change detected This PR commits an update to
This change was flagged as: |
cipolleschi
pushed a commit
to cipolleschi/react-native
that referenced
this pull request
Jul 28, 2026
Summary: Pull Request resolved: react#57717 Update the RNTester and HelloWorld JS layers for SceneDelegate-based window resizing and app lifecycle behavior. Changelog: [iOS][Changed] - Update RNTester and HelloWorld for SceneDelegate lifecycle behavior Test Plan: - Verify Dimensions updates after resizing the RNTester window. - Verify the HelloWorld app renders with the SceneDelegate bootstrap. - `arc f` - `arc lint` Reviewed By: javache Differential Revision: D113758227 Pulled By: cipolleschi
cipolleschi
force-pushed
the
export-D113758227
branch
from
July 28, 2026 12:23
4b40daf to
996d188
Compare
cipolleschi
pushed a commit
to cipolleschi/react-native
that referenced
this pull request
Jul 28, 2026
Summary: Pull Request resolved: react#57717 Update the RNTester and HelloWorld JS layers for SceneDelegate-based window resizing and app lifecycle behavior. Changelog: [iOS][Changed] - Update RNTester and HelloWorld for SceneDelegate lifecycle behavior Test Plan: - Verify Dimensions updates after resizing the RNTester window. - Verify the HelloWorld app renders with the SceneDelegate bootstrap. - `arc f` - `arc lint` Reviewed By: javache Differential Revision: D113758227 Pulled By: cipolleschi
cipolleschi
force-pushed
the
export-D113758227
branch
from
July 28, 2026 12:29
996d188 to
2c641e7
Compare
cipolleschi
pushed a commit
to cipolleschi/react-native
that referenced
this pull request
Jul 28, 2026
Summary: Pull Request resolved: react#57717 Update the RNTester and HelloWorld JS layers for SceneDelegate-based window resizing and app lifecycle behavior. Changelog: [iOS][Changed] - Update RNTester and HelloWorld for SceneDelegate lifecycle behavior Test Plan: - Verify Dimensions updates after resizing the RNTester window. - Verify the HelloWorld app renders with the SceneDelegate bootstrap. - `arc f` - `arc lint` Reviewed By: javache Differential Revision: D113758227 Pulled By: cipolleschi
cipolleschi
force-pushed
the
export-D113758227
branch
from
July 28, 2026 12:54
2c641e7 to
478fc61
Compare
Summary: Pull Request resolved: react#57700 Add SceneDelegate lifecycle support to React Native iOS while retaining the AppDelegate path for backwards compatibility. Update linking, window resolution, bootstrap APIs, RNTester, HelloWorld, and generated API snapshots for scene-based applications. Changelog: [iOS][Added] - Add SceneDelegate lifecycle support Test Plan: - `buck2 build --flagfile fbsource//fbobjc/mode/buck2/linux --config fbobjc.react_native_debug=development --flagfile fbsource//fbobjc/mode/iphonesimulator-arm64 --flagfile fbsource//fbobjc/mode/jest-coverage --config xplat.available_platforms=CXX,APPLE --config cxx.default_platform=iphonesimulator-arm64 --config user.sandcastle_build_mode=profile --config user.platform_flavor=iphonesimulator-arm64 //xplat/js/react-native-github/packages/rn-tester:RNTesterIOS` - `xcodebuild -quiet -workspace RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -destination "generic/platform=iOS Simulator" CODE_SIGNING_ALLOWED=NO build` - `arc lint` - Evaluate RNTester with the `RNTester` SceneDelegate scheme. - Evaluate RNTester with the `RNTester (AppDelegate)` legacy scheme. - Verify HelloWorld bootstrap and deep linking. Reviewed By: javache Differential Revision: D113758228 Pulled By: cipolleschi
Summary: Update `NativeDeviceInfo.getConstants()` to read directly from the native module instead of retaining a stale JS-side cache. Changelog: [General][Fixed] - Refresh `DeviceInfo` constants on each read Reviewed By: javache Differential Revision: D113758830 Pulled By: cipolleschi
Summary: Pull Request resolved: react#57717 Update the RNTester and HelloWorld JS layers for SceneDelegate-based window resizing and app lifecycle behavior. Changelog: [iOS][Changed] - Update RNTester and HelloWorld for SceneDelegate lifecycle behavior Test Plan: - Verify Dimensions updates after resizing the RNTester window. - Verify the HelloWorld app renders with the SceneDelegate bootstrap. - `arc f` - `arc lint` Reviewed By: javache Differential Revision: D113758227 Pulled By: cipolleschi
cipolleschi
force-pushed
the
export-D113758227
branch
from
July 28, 2026 13:39
478fc61 to
4a510cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Update the RNTester and HelloWorld JS layers for SceneDelegate-based window resizing and app lifecycle behavior.
Changelog:
[iOS][Changed] - Update RNTester and HelloWorld for SceneDelegate lifecycle behavior
Test Plan:
arc farc lintReviewed By: javache
Differential Revision: D113758227
Pulled By: cipolleschi