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

windows: screen.orientation.type is always portrait-primary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • cordova@7.0.0
    • None
    • None
    • windows 8.1 and windows 10

    Description

      screen.orientation.type is always portrait-primary on windows (windows 8.1 and windows 10).

      this is bug? or screen.orientation.type is not the specification of cordova-plugin-screen-orientation?

      this is work.
      -------
      console.log(screen.msOrientation);
      screen.onmsorientationchange = function()

      { console.log(screen.msOrientation); }

      ;
      -------

      Attachments

        Activity

          People

            Unassigned Unassigned
            inoue.yuta inoue yuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: