You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sebastien Lorber (JIRA)" <ji...@apache.org> on 2015/07/28 12:58:05 UTC
[jira] [Created] (CB-9419) Icon declaration order matters
Sebastien Lorber created CB-9419:
------------------------------------
Summary: Icon declaration order matters
Key: CB-9419
URL: https://issues.apache.org/jira/browse/CB-9419
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Affects Versions: 5.1.1
Reporter: Sebastien Lorber
Priority: Minor
I'm running the build with CLI 5.1.1 with iOS.
I'm using the --verbose option so that I can see the execution of the cp command that is used to copy the icons.
But this is weird because it seems the order of declaration in config.xml matters. In addition, declaring icons without all width/height attributes may "override" the more specific configurations with width/height
Let's take an example:
{code}
<platform name="ios">
<icon src="test2.png" />
<icon src="test4.png" width="40" height="40"/>
<icon src="test3.png" width="40"/>
</platform>
<icon src="test1.png" />
{code}
In this case only test1 and test4 images are copied
But if I use
{code}
<platform name="ios">
<icon src="test2.png" />
<icon src="test3.png" width="40"/>
<icon src="test4.png" width="40" height="40"/>
</platform>
<icon src="test1.png" />
{code}
Only test1 and test3 are copied
This seems to be an unexpected and undocumented behavior.
Related to the problems with icons on Android for the same version:
https://issues.apache.org/jira/browse/CB-9417
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org