Setting app.json orientation to landscape only allows one landscape

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?

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

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