Portrait mode orientation only half working

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): iOS

When running my app in expo go, the app is only semi-locked into portrait. When I rotate the device, the bottom-half of the app animates to landscape, and my bottom navigation labels move to beside the icons. Otherwise, the app stays mostly portrait. Here is the setting I have in app.json:

{
“expo”: {
…other configuration,
“orientation”: “portrait”
}
}

What else can I try to lock the orientation to portrait?

Hey @blyler, can you share a minimal reproduction case of this that I can run on my end? There is the ScreenOrientation module ScreenOrientation - Expo Documentation that will take precedence over your app.json configuration but the app should be locked to portrait mode given your current configuration.

Also, can you let me know what device(s) this happens on?

Cheers,
Adam

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