Your application might load in landscape mode because BrowserStack’s real devices are physically placed in a landscape position within the data centres.
Some apps rely on device sensors, such as the accelerometer, to determine orientation. If your app uses these sensors, it may switch to landscape orientation even if the on-screen reference device, displayed in your browser, appears to be in portrait orientation.
To work around this issue:
1. Launch your App Live test session.
2. In the App Live vertical toolbar, enable the App Orientation toggle.
When this setting is enabled, App Live applies a mocked orientation to the session rather than triggering a physical device rotation. This overrides the device’s sensor data, ensuring the app follows the orientation visible in your browser.