Skip to content

Commit

Permalink
Disable landscape orientation on all platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandat committed May 30, 2016
1 parent 2d230b7 commit 7be72eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect"/>
<preference name="xwalkMode" value="embedded"/>
<preference name="xwalkMultipleApk" value="true"/>
<preference name="Orientation" value="default"/>
<preference name="Orientation" value="portrait"/>
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
Expand Down Expand Up @@ -48,7 +48,6 @@
<splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
</platform>
<platform name="ios">
<preference name="Orientation" value="all"/>
<preference name="BackupWebStorage" value="none"/>
<preference name="KeyboardDisplayRequiresUserAction" value="false"/>
<preference name="iosPersistentFileLocation" value="Library"/>
Expand Down Expand Up @@ -80,4 +79,4 @@
<splash src="resources/ios/splash/Default~iphone.png" width="320" height="480"/>
</platform>
<icon src="resources/android/icon/drawable-xhdpi-icon.png"/>
</widget>
</widget>

0 comments on commit 7be72eb

Please sign in to comment.