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

Cordova plugin screen orientation iOS not locking view correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • iPhone 6S iOS 11.2.1

      cordova-plugin-screen-orientation@3.0.1 and lower

      Ionic v1.7.16
      Cordova v6.5.0

       

       

       

    Description

      Bug happens if you have an app that is locked to portrait mode and have a component that temporarily turns the app into landscape. While iPhone is turned to portrait mode it works normally but once you turn it to landscape (from view that is locked to portrait) and fire the component that is supposed to turn the app to landscape the app doesn't turn. Similar bug happens when turning the app back to portrait.

      See the video for full bug replication demonstration.

      Attachments

        1. ScreenOrientation Bug.mp4
          33.24 MB
          Adrian Jarc

        Activity

          People

            Unassigned Unassigned
            adrianj Adrian Jarc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: