Our app was rejected from the app store because it included placeholder Cordova app icons. I have to remove Cordova icons for sizes I don't provide by hand from the Xcode project.
Feature Description
I'd like Cordova to not include or delete all placeholder icons from the Images.xcassets as long as at least one <icon /> is defined in config.xml. This gives developers direct control over which icon sizes are included in their application.
As a bonus this covers the more specific feature request #658 to avoid supplying watch icons.
Alternatives or Workarounds
Currently, the only workaround is to include every single possible size icon in order to overwrite all placeholders. This is excessive and unnecessary. Our app only targets iPad and iOS 11+, so I'd prefer not to have to include icons for iPhone, Apple Watch, and iOS 5 & 6.
I was hoping setting <icon /> without height and width would generate icons for appropriate sizes, but instead it does not resize the source image at all, generating warnings in Xcode.
Feature Request
Motivation Behind Feature
Our app was rejected from the app store because it included placeholder Cordova app icons. I have to remove Cordova icons for sizes I don't provide by hand from the Xcode project.
Feature Description
I'd like Cordova to not include or delete all placeholder icons from the
Images.xcassets
as long as at least one<icon />
is defined inconfig.xml
. This gives developers direct control over which icon sizes are included in their application.As a bonus this covers the more specific feature request #658 to avoid supplying watch icons.
Alternatives or Workarounds
Currently, the only workaround is to include every single possible size icon in order to overwrite all placeholders. This is excessive and unnecessary. Our app only targets iPad and iOS 11+, so I'd prefer not to have to include icons for iPhone, Apple Watch, and iOS 5 & 6.
I was hoping setting
<icon />
without height and width would generate icons for appropriate sizes, but instead it does not resize the source image at all, generating warnings in Xcode.