Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10344

"cordova prepare" on Windows ignores <icons> tag in config.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Master
    • None
    • cordova-windows

    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:

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

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alsorokin Alexander Sorokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: