From d3e795a51fe3a239c07c99464e613e34b699370f Mon Sep 17 00:00:00 2001 From: mashazyu Date: Sun, 22 Mar 2020 17:02:47 +0100 Subject: [PATCH] Forbids landscape orientation for app --- android/app/src/main/AndroidManifest.xml | 3 ++- ios/drip/Info.plist | 31 ++++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index e1f7e77..4d86e06 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -29,7 +29,8 @@ android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize" - android:windowSoftInputMode="adjustResize"> + android:windowSoftInputMode="adjustResize" + android:screenOrientation="sensorPortrait"> diff --git a/ios/drip/Info.plist b/ios/drip/Info.plist index 8df975a..790ce8a 100644 --- a/ios/drip/Info.plist +++ b/ios/drip/Info.plist @@ -24,22 +24,6 @@ 1 LSRequiresIPhoneOS - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - NSLocationWhenInUseUsageDescription - NSAppTransportSecurity NSExceptionDomains @@ -51,6 +35,8 @@ + NSLocationWhenInUseUsageDescription + UIAppFonts Entypo.ttf @@ -89,5 +75,18 @@ AntDesign.ttf OpenSans-LightItalic.ttf + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + + UIViewControllerBasedStatusBarAppearance +