title: How to set orientation to portrait mode, regardless the auto-rotate in Android / React Native
body: <p>I want to set <code>portrait mode</code> in my react native android application, I tried to </p>
  
  <ol>
  <li>set <code>android:screenOrientation="portrait"</code> in my Android <code>Manifest.xml</code> file, </li>
  <li>adding orientation programmatically in my activity as <code>setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);</code> but none of these is working.</li>
  </ol>
  
  <p><strong>Note:</strong> I have added <code>react-native-navigation</code> in my project</p>
  
  <p>Any inputs to resolve this? Thanks.</p>