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] [Created] (CB-6248) Error on prepare when Orientation is configured
Date Thu, 13 Mar 2014 20:11:45 GMT
Frederico Costa Galvão created CB-6248:
------------------------------------------

             Summary: 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
            Priority: Minor


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