You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/04/08 19:03:15 UTC
[jira] [Resolved] (CB-6406) Orientation=portrait in config.xml
causes problems
[ https://issues.apache.org/jira/browse/CB-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-6406.
-------------------------------
Resolution: Cannot Reproduce
I believe this is fixed on master already. Will be fixed in next release.
> Orientation=portrait in config.xml causes problems
> --------------------------------------------------
>
> Key: CB-6406
> URL: https://issues.apache.org/jira/browse/CB-6406
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Reporter: Mateusz Mucha
>
> When config.xml contains <preference name="Orientation" value="portrait" />, cordova prepare android (don't know about other platforms, will try it on mac/ios when I get back home) produces an error:
> muszek@dziobak:~/pgpc2$ cordova prepare
> [ReferenceError: a is not defined]
> muszek@dziobak:~/pgpc2$
> The app is built and seems to function well (in fact I noticed the problem two weeks after I added the problematic entry in config.xml). The only side effect I noticed is that AndroidManifest.xml is not updated (at least android:versionName is not overwritten).
> I confirmed it on the freshly created repository. Here's the "recording": http://asciinema.org/a/8671
--
This message was sent by Atlassian JIRA
(v6.2#6252)