Home > Blockchain >  Disable split screen in react native expo app
Disable split screen in react native expo app

Time:03-22

does anybody know how to disable split screen in a React native expo app?. I have found in the docs this solution but only for ios. Thanks a lot in advance

Open your app.json and add the following inside of the "expo" field:
{
  "expo": {
    ...
    "ios": {
      ...
      "requireFullScreen": true,
    }
  }
}

CodePudding user response:

Add the following in your AndroidManifest.xml file:

<activity android:name=".MainApplication"
    android:resizeableActivity="false"
/>
  • Related