Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
cordova@7.0.0
-
None
-
None
-
iPod Touch 5 with iOS 9.3.5
Cordova 5, 7.0.1The 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.
Description
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.