decomp.me icon indicating copy to clipboard operation
decomp.me copied to clipboard

PWA ignores Android orientation lock

Open karas84 opened this issue 6 months ago • 0 comments

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.

karas84 avatar Aug 24 '25 12:08 karas84