You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2016/01/13 16:17:39 UTC

[jira] [Updated] (CB-10344) "cordova prepare" on Windows ignores tag in config.xml

     [ https://issues.apache.org/jira/browse/CB-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Sorokin updated CB-10344:
-----------------------------------
    Description: 
download the assets and unpack them to the root of cordova app:
https://yadi.sk/d/pN05iYGhmshzr

add this tag to config.xml, then run the app:

{code}
    <platform name="windows">
        <icon src="res/win/_logo.png" width="150" height="150" />
        <icon src="res/win/_Square30x30Logo.scale-100.png" width="30" height="30" />
        <icon src="res/win/_StoreLogo.scale-100.png" width="50" height="50" />
        <icon src="res/win/_Square44x44Logo.scale-240.png" width="106" height="106" />
        <icon src="res/win/_Square71x71Logo.scale-240.png" width="170" height="170" />
        <icon src="res/win/_Square150x150Logo.scale-240.png" width="360" height="360" />
        <icon src="res/win/_StoreLogo.scale-240.png" width="120" height="120" />
        <icon src="res/win/_Wide310x150Logo.scale-240.png" width="744" height="360" />

        <splash src="res/win/_SplashScreen.scale-100.png" width="620" height="300" />
        <splash src="res/win/_SplashScreenPhone.scale-240.png" width="1152" height="1920" />
    </platform>
{code}

Expected:
New icons are copied to platforms/windows/images and are visible in the app.

Actual:
New icons are not copied to platforms/windows/images and are not visible in the app.

  was:
download the assets and unpack them to the root of cordova app:
https://yadi.sk/d/pN05iYGhmshzr

add this tag to config.xml, then run the app:

{code}
    <platform name="windows">
        <icon src="res/win/_logo.png" width="150" height="150" />
        <icon src="res/win/_Square30x30Logo.scale-100.png" width="30" height="30" />
        <icon src="res/win/_StoreLogo.scale-100.png" width="50" height="50" />
        <icon src="res/win/_Square44x44Logo.scale-240.png" width="106" height="106" />
        <icon src="res/win/_Square71x71Logo.scale-240.png" width="170" height="170" />
        <icon src="res/win/_Square150x150Logo.scale-240.png" width="360" height="360" />
        <icon src="res/win/_StoreLogo.scale-240.png" width="120" height="120" />
        <icon src="res/win/_Wide310x150Logo.scale-240.png" width="744" height="360" />

        <splash src="res/win/_SplashScreen.scale-100.png" width="620" height="300" />
        <splash src="res/win/_SplashScreenPhone.scale-240.png" width="1152" height="1920" />
    </platform>
{code}

New icons are not copied to platforms/windows/images and are not visible in the app.


> "cordova prepare" on Windows ignores <icons> tag in config.xml
> --------------------------------------------------------------
>
>                 Key: CB-10344
>                 URL: https://issues.apache.org/jira/browse/CB-10344
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: Master
>            Reporter: Alexander Sorokin
>
> download the assets and unpack them to the root of cordova app:
> https://yadi.sk/d/pN05iYGhmshzr
> add this tag to config.xml, then run the app:
> {code}
>     <platform name="windows">
>         <icon src="res/win/_logo.png" width="150" height="150" />
>         <icon src="res/win/_Square30x30Logo.scale-100.png" width="30" height="30" />
>         <icon src="res/win/_StoreLogo.scale-100.png" width="50" height="50" />
>         <icon src="res/win/_Square44x44Logo.scale-240.png" width="106" height="106" />
>         <icon src="res/win/_Square71x71Logo.scale-240.png" width="170" height="170" />
>         <icon src="res/win/_Square150x150Logo.scale-240.png" width="360" height="360" />
>         <icon src="res/win/_StoreLogo.scale-240.png" width="120" height="120" />
>         <icon src="res/win/_Wide310x150Logo.scale-240.png" width="744" height="360" />
>         <splash src="res/win/_SplashScreen.scale-100.png" width="620" height="300" />
>         <splash src="res/win/_SplashScreenPhone.scale-240.png" width="1152" height="1920" />
>     </platform>
> {code}
> Expected:
> New icons are copied to platforms/windows/images and are visible in the app.
> Actual:
> New icons are not copied to platforms/windows/images and are not visible in the app.



--
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