title: How to restrict app to portrait mode only in ionic for all platforms?
body: <p>I'm working on Ionic/Cordova, I added this to <code>androidManifest.xml</code> but this didn't work for me and app is still showing in both ways</p>
  
  <pre><code>android:screenOrientation="portrait"
  </code></pre>
  
  <p>How can I restrict my app to portrait mode only? I have checked on android and it doesn't work</p>