You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ivanix (JIRA)" <ji...@apache.org> on 2017/06/15 23:12:00 UTC

[jira] [Created] (CB-12926) screen.orientation.lock doesn't keep orientation when ios's "Portrait Orientation" icon is off

ivanix created CB-12926:
---------------------------

             Summary: screen.orientation.lock doesn't keep orientation when ios's "Portrait Orientation" icon is off
                 Key: CB-12926
                 URL: https://issues.apache.org/jira/browse/CB-12926
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-screen-orientation
    Affects Versions: cordova@7.0.0
         Environment: 
iPod Touch 5   with iOS 9.3.5
Cordova 5, 7.0.1

The plugin version affected starts at 2.01 to the latest in git  as of 2017-06-16.
Below 2.01 the api is broken and does not work at all.

 
            Reporter: ivanix
            Assignee: Vishal Mishra



screen.orientation.lock(*) will set the specified orientation, but not keep when the device is rotated if the  Portrait Orientation icon is off in the Control Panel of iOS.

When the Portrait Orientation icon is on, the function works as expected, keeping the orientation locked regardless of how the device is rotated.

I have not tested on iOS 10, so no idea if this is just a ios 9 issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org