Expo@44.0.0 - Bare Workflow
Expo-CLI@5.3.0
Expo-Screen-Orientation@4.1.2
On all iOS iPad devices, the orientation will not lock to landscape. Phones will lock to any orientation. This line of code “await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT);” is at the root of the application. I’ve uninstalled the package, then reinstalled and did the pod install command in the “./ios” folder and still nothing. For background, the app is supposed to lock to portrait for phones, and then lock to landscape for tablets. Getting this bug fixed is mission critical for delivering the product.
I’ve been seeing that this has been a problem and I’ve followed previous recommended steps. app.json has “‘orientation’: ‘landscape’” AND “‘requireFullScreen’: true” and iPads won’t lock to landscape. I appreciate all of your support on the matter. Thanks in advance
Developed On:
Mac Mini macOSMonterey Version 12.3
Tested On:
iOS Simulator - iPad Pro (12.9-inch) (5th Generation), iPad mini (6th Generation)