Skip to content

PWA ignores Android orientation lock #1648

@karas84

Description

@karas84

Description
When the site is installed as a PWA on Android, it doesn’t respect the system’s orientation lock setting.

Steps to reproduce

  1. On an Android device (tested on Galaxy S23, Android 15), lock the phone orientation to portrait mode in system settings.
  2. Open the site in PWA mode (installed to home screen).
  3. Rotate the phone.

Expected behavior
The app should remain in portrait mode, respecting the system’s orientation lock.

Actual behavior
The PWA rotates with the phone despite the OS-level orientation lock.

Additional context
The web app manifest currently includes "orientation": "any", which according to https://stackoverflow.com/questions/73956593/pwa-ignores-os-orientation-lock-on-android could be the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions