Screen Orientation

Contents

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.

https://github.com/apache/cordova-plugin-screen-orientation

Stuck on a Cordova issue?

Installation

ionic cordova plugin add cordova-plugin-screen-orientationnpm install @ionic-native/screen-orientation
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/screen-orientation

Supported Platforms

  • Android
  • iOS
  • Windows

Usage