StatusBar not locking when change orientation

Hello! I have a problem with StatusBar when I change orientation. I set in app.json "orientation": "portrait", but when i change orientation to landscape, StatusBar turns too. Is there a decent way to keep it locked?

Hey @macmich,

It might be worth trying to use the ScreenOrientation API https://docs.expo.io/versions/v32.0.0/sdk/screen-orientation/

Cheers,
Adam

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