🚀 re:Imagine QA: See how AI reshapes your SDLC @ AWS re:Invent. Visit BrowserStack Booth

How can we help?

Connect & Get help from fellow developers on our Discord community.

Why does my application load in Landscape mode even when the device is in Portrait mode?

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.


Other Resources

Still can’t find what you are looking for?

We are always happy to help with any questions

Support resources Contact Us