Repro 5/5
- Lock rotation on your phone (through quick settings, system accessibility settings or wherever that is on your phone)
- Go to community.monzo.com in Chrome on Android
- Flip phone between landscape and portrait. Notice that the website does not rotate
- Hit “Add to home screen” (or accept if Chrome automatically prompts you because it realised you’re coming back here all the time )
- Open the Monzo Community from the new icon on the home screen
- Flip your phone between landscape and portrait. Notice that the website now rotates
Suggested fix:
Remove the "orientation": "any"
value in https://community.monzo.com/manifest.json.
Any forces the rotation, while the default value (natural I suppose) just respects the system preferences. Apparently this is to be used when doing fancy things like games, while regular web pages should stick to the default orientation. Sadly they don’t have good descriptions for the values at https://developer.mozilla.org/en-US/docs/Web/Manifest#orientation