You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/10/07 09:58:20 UTC

[jira] [Resolved] (CB-11071) Cordova 4 removed the shouldRotateToOrientation call which breaks the screen orientation plugins

     [ https://issues.apache.org/jira/browse/CB-11071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-11071.
-----------------------------------
    Resolution: Fixed

The referred to plugin has been rolled into cordova as a core plugin and should work with cordova-ios-4:
https://github.com/apache/cordova-plugin-screen-orientation

> Cordova 4 removed the shouldRotateToOrientation call which breaks the screen orientation plugins
> ------------------------------------------------------------------------------------------------
>
>                 Key: CB-11071
>                 URL: https://issues.apache.org/jira/browse/CB-11071
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>         Environment: Ionic 2, iOS, Android, Mac, Cordova 4.0
>            Reporter: Adrian Leung
>              Labels: triaged
>
> Cordova 4 removed the shouldRotateToOrientation call which breaks the screen orientation plugins that everyone else is using!
> If you are installing a fresh install of cordova you will likely get cordova iOS v4.0.x, there are a number of issues related to this already e.g #84. You could try an install cordova iOS from the 3 branch and you may have more luck. At this stage I have not had time to find a solution after cordova 4 removed the shouldRotateToOrientation call.
> https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues/98



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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