From e2548e718dfb242ccbc6de5a723b43493c380cf5 Mon Sep 17 00:00:00 2001 From: ekzyis <27162016+ekzyis@users.noreply.github.com> Date: Mon, 11 Sep 2023 21:58:41 +0200 Subject: [PATCH] Remove orientation from manifest (#483) This overrides OS auto-rotate settings on Android. This means that the PWA does auto-rotate even if the OS setting to auto-rotate is not enabled. This property is experimental and only supported by Chromium-based browsers anyway. Also, you can still manually rotate if you want. Co-authored-by: ekzyis --- pages/api/site.webmanifest.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/api/site.webmanifest.js b/pages/api/site.webmanifest.js index 1568f2a1..3a38bd41 100644 --- a/pages/api/site.webmanifest.js +++ b/pages/api/site.webmanifest.js @@ -91,7 +91,6 @@ const defaultManifest = { } ], display: 'standalone', - orientation: 'any', theme_color: black, background_color: yellow, id: '/',