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

iOS Orientation Unlock Behavior Inconsistent with Android

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.2
    • None
    • None
    • Cordova 4.0.0 (iOS 3.8.0)
      Screen Orientation Plugin 1.4.2
      iOS 9.3.2
      Android 5.0.1

    Description

      When setting the supported interface orientation to only portrait and running the deployed app on iOS and Android devices, the screen.unlockOrientation() method enables landscape orientation rotation on only Android but not iOS.

      When setting the supported interface orientation to both portrait and landscape and running the deployed app on iOS and Android devices, the screen.unlockOrientation() method enables landscape orientation rotation on both Android and iOS.

      Configuring the app as portrait only and then programmatically unlocking and enabling landscape orientation is desirable for single-orientation splash screen display and preventing this other rotation bug:
      https://issues.apache.org/jira/browse/CB-11423

      Attachments

        Activity

          People

            tony-- Tony Homer
            TaeKwonJoe Joe Meeks
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: