Restore iPhone landscape orientations in iOS template#207
Open
unstableair wants to merge 1 commit intoreact-native-community:mainfrom
Open
Restore iPhone landscape orientations in iOS template#207unstableair wants to merge 1 commit intoreact-native-community:mainfrom
unstableair wants to merge 1 commit intoreact-native-community:mainfrom
Conversation
|
Hi |
1 task
kmichalikk
added a commit
to software-mansion/react-native-screens
that referenced
this pull request
Feb 19, 2026
## Description This PR adds allowed screen orientations to iPhone that were removed react-native-community/template#183. The fix has been submitted in react-native-community/template#207, but it won't be available for some time. ## Changes Updated Info.plist for FabricExample. ## Test plan Build the app; see if rotating the screen works. ## Checklist - [ ] Ensured that CI passes
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.
See #206
Summary:
This restores support for iPhone landscape orientations in the iOS community template Info.plist.
As part of the work to support iPad window resizing (#183), the 0.84 template now only declares portrait for iPhone, which prevents rotation to landscape in newly created apps. This change reverts iPhone behaviour to the long-standing default, while keeping the iPad-specific orientation settings required for window resizing.
Changelog:
IOS FIXED - Restore iPhone landscape orientations in iOS community template Info.plist
Test Plan:
• Created a new app using the current community template (npx @react-native-community/cli init TestApp).
• Ran the app on an iPhone simulator.
• Before change: rotating the simulator does not rotate the app (portrait-only).
• After change: rotating the simulator correctly rotates the app to landscape left/right.