This is actually expected behavior on iOS and Android. The enum type has the values mapped to an integer that you can see here expo/ScreenOrientation.types.ts at sdk-38 · expo/expo · GitHub So in this instance the promise is resolving to 1 which corresponds to the value of PORTRAIT_UP.
We’re brainstorming on ways to add documentation to help clear up the confusion. If you have any ideas, we are all ears!
Hey thanks for replying. Yeah I think the documentation could really use some more detail. I’ve been using expo and react native for a while now, would love to contribute to the project whether it’s helping with the docs or modules. Let me know if there’s any way I can contribute!