You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mateusz Mucha (JIRA)" <ji...@apache.org> on 2014/04/04 16:54:17 UTC
[jira] [Created] (CB-6406) Orientation=portrait in config.xml
causes problems
Mateusz Mucha created CB-6406:
---------------------------------
Summary: 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)