Landscape orientation not respected

Hi,

I made an app that only supports landscape orientation, but in one of my users device it has launched in portrait mode. He’s using OnePlus One with CM11. 

How should I fix that? I couldn’t find any solution and it’s hard to me to test that as it works well on the simulator, android emulator and my android devices.

My build.build settings:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft"} }, ... }

and config.lua:

application = { content = { width = 320, height = 320 \* display.pixelHeight / display.pixelWidth, scale = "letterBox", fps = 30, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3, }, }, }

A quick Google of “OnePlus One with CM11” shows that this is a theme that requires a rooted Android device.   Corona SDK does not support rooted devices.  There are too many hacks under the hood that there is no way we could ever expect consistency on rooted devices. 

Rob

FWIW, a cursory search of CM11 tells me that in some cases, portrait orientation is the only one that is supported and landscape is never observed. You might want to get a bit more info from this user, specifically, if they can get other apps to respect the landscape orientation.

A quick Google of “OnePlus One with CM11” shows that this is a theme that requires a rooted Android device.   Corona SDK does not support rooted devices.  There are too many hacks under the hood that there is no way we could ever expect consistency on rooted devices. 

Rob

FWIW, a cursory search of CM11 tells me that in some cases, portrait orientation is the only one that is supported and landscape is never observed. You might want to get a bit more info from this user, specifically, if they can get other apps to respect the landscape orientation.