From 4fc28da450482a2b3862117ebe40a0923d7157a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Serkan=20=C3=96zaydin?= Date: Thu, 4 Jun 2026 02:08:41 +0300 Subject: [PATCH] added horizontal screen support (#4316) Co-authored-by: hsmnzaydn --- mobile/app.json | 14 +++++++++++++- mobile/app/_layout.tsx | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index 6cb5f60c648..78d85e0000e 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -31,7 +31,19 @@ } } }, - "ITSAppUsesNonExemptEncryption": false + "ITSAppUsesNonExemptEncryption": false, + "UISupportedInterfaceOrientations": [ + "UIInterfaceOrientationPortrait", + "UIInterfaceOrientationPortraitUpsideDown", + "UIInterfaceOrientationLandscapeLeft", + "UIInterfaceOrientationLandscapeRight" + ], + "UISupportedInterfaceOrientations~ipad": [ + "UIInterfaceOrientationPortrait", + "UIInterfaceOrientationPortraitUpsideDown", + "UIInterfaceOrientationLandscapeLeft", + "UIInterfaceOrientationLandscapeRight" + ] }, "privacyManifests": { "NSPrivacyTracking": false, diff --git a/mobile/app/_layout.tsx b/mobile/app/_layout.tsx index fc65614e71b..de1160c6b35 100644 --- a/mobile/app/_layout.tsx +++ b/mobile/app/_layout.tsx @@ -145,7 +145,8 @@ export default function RootLayout() { headerTintColor: colors.textPrimary, headerTitleStyle: { fontSize: 16, fontWeight: '600' }, contentStyle: { backgroundColor: colors.bgBase }, - headerShadowVisible: false + headerShadowVisible: false, + orientation: 'all' }} >