I am trying to lock my ionic screen to not flip completely. Currently I am setting it in my scxml file. I am able to set it to portrait only however with portrait it still flips when if you turn the device upside down. most of the answers I've researched only explain how to set it to portrait, but this does not stop the upside down flip. Here is the line of code I have:
<send event="setOrientation" to="x-html" data="portrait" />