Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9528

create new core plugin to control screen orientation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Create a new core Cordova plugin that enables the user to dynamically control the orientation of their app.
      The interface will be based on the screen-orientation spec.

      There is a precedent for this behavior being supported as part of Cordova.
      Previously iOS supported a non-standard approach to controlling the orientation dynamically (see last entry in this section of the 5.1.1 docs).
      Recent platform changes made the iOS-specific approach untenable, but it's removal prompted a discussion about enabling this as a cross-platform feature via a new core plugin.
      See related discussion in CB-8047.

      The new core plugin will be based on an existing community-created plugin:
      https://github.com/gbenvenuti/cordova-plugin-screen-orientation
      Work is underway to make the changes needed for it to become a core plugin (switch license to Apache, fix open issues, add tests, update interface to latest spec, etc.).

      Attachments

        Issue Links

          Activity

            People

              tony-- Tony Homer
              tony-- Tony Homer
              Votes:
              11 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: