Landscape orientation not preserved on load/reload

This is an inconvenience that I’m able to tolerate right now, but when using Expo with my iPad in landscape mode, the device switches to portrait mode when I choose “Refresh” from the debug menu, or when I start the Expo app from a cold start, and does not change to landscape mode when the app loads unless I lift the corner of the device until it is angled at about 45 degrees and then set it down again. It would be nice if I didn’t have to do that!

Hi @dgreensp - we’ve made an internal issue to track this. In the meantime, you might be able to restrict the allowed orientations so that the app is forced to be in landscape mode only:

import { ScreenOrientation } from 'expo';

ScreenOrientation.allow(ScreenOrientation.Orientation.LANDSCAPE_LEFT);
// or LANDSCAPE_RIGHT
1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.