Screen Orientation
1
$ ionic cordova plugin add cordova-plugin-screen-orientation
2
$ npm install @awesome-cordova-plugins/screen-orientation
Copied!
Cordova plugin to set/lock the screen orientation in a common way.
Requires Cordova plugin: cordova-plugin-screen-orientation. For more info, please see the Screen Orientation plugin docs.

Supported platforms

  • Android
    • iOS
    • Windows