How to upgrade from SDK36 to SDK37 the orientation

Please provide the following:

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

I have finished my first expo SDK app and realized the sdk36 was obselete for Android, so I decided to redo the SDK upgrade from 36 to 37 and when this will be done, from 37 to 38 in order to support the latest android version.

Right now, I encounter weird error with expo-screen-orientation:

  • On the web: the orientation change listener will always return UNKNOW
  • On android, we will have two values:
    "orientationInfo": Object {
        "orientation": 4
    "orientationLock": 0,

It is a bit unpredictable, all I need is the same component that will store the orientation PORTRAIT or LANDSCAPE in my redux store.

Can anyone help? Thanks

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