Thanks in advance for the help, I'm looking for information in several places but I can't find a solution about it. I am making an application with ionic 3 but due to an arrangement of the elements I need the orientation of the device to always be horizontal. Is there a way to lock it horizontally? Thank you so much for everything.
You need the Cordova Screen Orientation plugin and Ionic Native.
And you would use it like this:
You have the details in the Cordova Screen Orientation plugin .
In config.xml , you have to add if you want it horizontal:
And if you want it vertical: