Setting app.json orientation to landscape only allows one landscape

#1

My app needs to be exclusively landscape-oriented, but setting orientation in app.json to landscape seems to only lock the app to one landscape view, and when rotated doesn’t flip to the other landscape orientation.

Is this a feature missing from Expo? Or is there a separate setting to make that happen?

0 Likes

#2

You can use the runtime orientation settings to do this instead of configuring the orientation in app.json.

https://docs.expo.io/versions/latest/sdk/screen-orientation.html

0 Likes

closed #3

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

0 Likes