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

Our mobile devices in our data centres are kept in landscape position, and we rotate the device screen programmatically to show the screen orientation on BrowserStack.

However, applications that use the accelerometer or device sensor to detect the actual orientation of the device, change the orientation of the app to landscape mode.

To overcome this, please enable the Honour Device Orientation feature under Android Settings on the vertical toolbar. This should force the app to remain in the portrait mode by default.

Trusted by 50,000+ global customers

Thank you

You will be hearing from us soon!

Request received!

We will respond back shortly to

In the meantime, here are some resources that might interest you:

personal_video
Live events with industry experts
CheckBox Icon
Success stories from our customers
Article logo
Calculating test automation ROI