cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CB-6248) Error on prepare when Orientation is configured
Date Wed, 19 Mar 2014 15:59:46 GMT

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

Frederico Costa Galvão updated CB-6248:
---------------------------------------

    Priority: Major  (was: Minor)

> Error on prepare when Orientation is configured
> -----------------------------------------------
>
>                 Key: CB-6248
>                 URL: https://issues.apache.org/jira/browse/CB-6248
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.4.0
>         Environment: Xubuntu 13.10 x86_64, cordova 3.4.0-0.1.3
>            Reporter: Frederico Costa Galvão
>              Labels: AndroidManifest.xml, android, cli, config.xml, prepare, screenOrientation
>
> After creating an empty cordova project (*cordova create bacon com.bacon Bacon*), running
*cordova platform add android*,  and adding 
> {code}
> <preference name="orientation" value="landscape" />
> {code}
> and then running *cordova prepare*, the following error is shown among the output.
> {code}
> [ReferenceError: a is not defined]
> {code}
> As a second side effect, bigger than just a logged error, the *orientation* preference
isn't working as expected: the *android:screenOrientation* isn't set according to what's in
the *config.xml* (it isn't set at all, by the way).
> PS: I've checked case sensitivity, and I've checked all possible values \[default, landscape,
portrait\].



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

Mime
View raw message