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 <ek@stacker.news>
This commit is contained in:
ekzyis 2023-09-11 21:58:41 +02:00 committed by GitHub
parent 0c7d432056
commit e2548e718d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ const defaultManifest = {
} }
], ],
display: 'standalone', display: 'standalone',
orientation: 'any',
theme_color: black, theme_color: black,
background_color: yellow, background_color: yellow,
id: '/', id: '/',