Change Screen Orientation

In order to change screen orientation of your app, you need to define screenOrientation attribute in package.json file of your app.

Screen Orientation

  • screenOrientation: "portrait" to make the orientation portrait.
  • screenOrientation: "landscape" to make the orientation landscape
{
  ...
  "screenOrientation": "landscape"
  ...
}

Note: Bydefault it is in Free Mode

results matching ""

    No results matching ""