Open NicoHood opened 3 months ago
I want to refer to the same issue on bubblewrap: https://github.com/GoogleChromeLabs/bubblewrap/issues/678
What I want to achieve is:
If I set orientation to any it will always rotate, no matter if the phone is locked or not. If I set it to natural it will never rotate at all.
orientation
any
natural
Is there any way to fix this?
Maybe you're looking for the Screen Orientation API: https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation
I want to refer to the same issue on bubblewrap: https://github.com/GoogleChromeLabs/bubblewrap/issues/678
What I want to achieve is:
If I set
orientation
toany
it will always rotate, no matter if the phone is locked or not. If I set it tonatural
it will never rotate at all.Is there any way to fix this?