You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Iron Bone (JIRA)" <ji...@apache.org> on 2014/05/11 00:07:15 UTC

[jira] [Commented] (CB-5634) Orientation Preference is ignored in Android, should be parsed by CLI

    [ https://issues.apache.org/jira/browse/CB-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992724#comment-13992724 ] 

Iron Bone commented on CB-5634:
-------------------------------

The problem was reported 1,5 year before. Orientation is one of the few main properties in cordova. I do not understand why it is not possible to solve this problem. If it is not possible then cordova should remove this property from the description - such a situation is just a shame for such project.

I teach cordova and my students  ask me why it does not work. I have no answer - so the students suggest to use something else.

> Orientation Preference is ignored in Android, should be parsed by CLI
> ---------------------------------------------------------------------
>
>                 Key: CB-5634
>                 URL: https://issues.apache.org/jira/browse/CB-5634
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS, Android, CLI, Docs, iOS
>            Reporter: Joe Bowser
>            Assignee: Andrew Grieve
>
> The docs say that an Orientation preference is supposed to work across all platforms.  However, Android's activities can only be locked to an orientation by modifying the AndroidManifest.xml. 
> To get past this, we either change the docs, or we support this in the CLI.  I feel that adding an XML parser to the scripts is complete overkill, since we don't have any tests for our platform scripts, and I personally think they're a giant pile of technical debt.



--
This message was sent by Atlassian JIRA
(v6.2#6252)