react native portrait only

Solutions on MaxInterview for react native portrait only by the best coders in the world

showing results for - "react native portrait only"
Aitana
12 Sep 2018
1// add this in your manifest.xml 
2
3<activity
4        android:name=".MainActivity"
5		<...other code>
6        android:configChanges="orientation"    //<--ADD THIS
7        android:screenOrientation="portrait">  //<--ADD THIS