How to lock orientation for particularly on one mobile screen?

Hi,

I need only one screen in the landscape orientation. 

How can I lock portrait orientation on my mobile screen?

I have tried with the Screen Orientation Plugin and Orientation event plugin but I cannot get it to work.


Thanks,

Divya.R

Hi Divya,

Please check this link about a forge component: https://www.outsystems.com/forums/discussion/32740/how-to-set-the-orientation-for-a-screen/



Other sugestion, and this is the way that I use ever:

Try in Extensibility Configurations:

{
    "preferences": {
        "global": [
            {
            "name": "orientation",
            "value": "landscape"
            }
        ]
    }
}


To test, you need install a new build.

More about this:


Regards,

Nuno Verdasca