cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <>
Subject [jira] [Resolved] (CB-6248) Error on prepare when Orientation is configured
Date Thu, 20 Mar 2014 14:08:44 GMT


Frederico Costa Galvão resolved CB-6248.

       Resolution: Fixed
    Fix Version/s: Master

This was fixed on master by [this PR|], on commit

> Error on prepare when Orientation is configured
> -----------------------------------------------
>                 Key: CB-6248
>                 URL:
>             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
>             Fix For: Master
> 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,

This message was sent by Atlassian JIRA

View raw message