[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=13950524#comment-13950524 ] David Lee commented on CB-5634: --- I'm also getting a {{[ReferenceError: a is not defined]}} error when I run {{cordova run android}} with {{}}. This error doesn't stop the command from succeeding, though. If I remove {{}}, then the error message goes away. > 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)
[jira] [Comment Edited] (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=13950517#comment-13950517 ] David Lee edited comment on CB-5634 at 3/28/14 9:16 AM: I'm still able to reproduce this on Android 4.2 with cordova 3.4.0-0.1.3. Maybe it's a bug in the docs, but I have {{}} in my config.xml and it's still reorienting to landscape when I move the phone around. was (Author: davidomundo): I'm still able to reproduce this on Android for 3.4.0-0.1.3. Maybe it's a bug in the docs, but I have {{}} in my config.xml and it's still reorienting to landscape. > 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)
[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=13950517#comment-13950517 ] David Lee commented on CB-5634: --- I'm still able to reproduce this on Android for 3.4.0-0.1.3. Maybe it's a bug in the docs, but I have {{}} in my config.xml and it's still reorienting to landscape. > 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)