For android, android:screenOrientation="portrait"
should work after you have rebuilt your project after making this change.
For iOS, in Info.plist, use
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
and then rebuild the project.