iOS template (0.84) unintentionally drops iPhone landscape support in Info.plist (after #183)
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- ios, react-native
- Domain
- mobile
Research direction
Start in template/ios/HelloWorld/Info.plist and inspect UISupportedInterfaceOrientations for iPhone and iPad. Reproduce with the 0.84.0 template using the listed CLI initialization steps, then verify that iPhone supports portrait and both landscape orientations while iPad retains all four.
Written by the indexing model from the issue text.
Description
Description
As part of the work to support iPad window resizing (#183), the iOS community template shipped with RN 0.84 now lists only UIInterfaceOrientationPortrait under UISupportedInterfaceOrientations (iPhone). This removes iPhone landscape rotation for apps created from the current template, which has been the default behaviour for many years.
In the PR description for #183, the stated goal is to enable window resizing on iPad by listing all 4 orientations under UISupportedInterfaceOrientations~ipad. It doesn’t appear to intend changing iPhone behaviour. 
Current template behaviour (0.84)
In template/ios/HelloWorld/Info.plist, iPhone supported orientations are effectively portrait-only, whilst iPad has all four orientations. 
Expected behaviour
The template should keep the historical default for iPhone (portrait + both landscapes), whilst retaining the iPad-specific orientations needed for window resizing.
Impact
New iPhone apps created with @react-native-community/cli + the 0.84 template won’t rotate to landscape without manual plist changes.
Steps to reproduce
1. npx @react-native-community/cli init AwesomeProject (current/0.84 template)
2. Run on an iPhone simulator/device
3. Rotate device → app remains portrait-only
React Native Community Template Version
0.84.0
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli@latest info
RN % npx @react-native-community/cli@latest info
error: unknown command 'info'
(Did you mean init?)
Stacktrace or Logs
N/A
Reproducer
https://github.com/react-native-community/template
Screenshots and Videos
No response
- Dominant language
- JavaScript
- Stars
- 242
- Forks
- 85
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-native-community/template
-
react-native-community/template#245 · 2 comments · 1 assignee ·
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
react-native-community/template#175 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
react-native-community/template#41 · 5 comments · 1 reaction ·
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 25/100
react-native-community/template#4 · 1 comment · 3 reactions ·
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 20/100
react-native-community/template#3 · 1 reaction ·
All issues in react-native-community/template
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·