I think that my questions go away when www/config.xml moves to config.xml. You have looked at the initial code and commented on it. Anything new on the current code? I will change the code tomorrow so that SRC becomes relatively to project-dir and remove the re/icon logic.
Axel On Jan 3, 2014 10:13 PM, "Andrew Grieve" <agri...@chromium.org> wrote: > As long as they can specify the path to their icons, I think they can put > them wherever they want. > > What input are you looking for? > > > On Sat, Dec 21, 2013 at 4:14 PM, Axel Nennker <ignisvul...@gmail.com> > wrote: > > > I suggest to move the icons to <project_root>/res/icons/<platform> and > copy > > them from there to the platform www. Although this has several drawbacks: > > > > - testing the UI in a browser by opening www/index.html might surprise > some > > developers because they use the icons not only to represent the app but > > also in the UI. > > - Some might expect the icon to be relative to config.xml. "<icon > > src='icon.png' /> looks like icon.png is next to config.xml > > - Sharing icons between platforms become irksome (soft links?) > > - Maybe cordova should search in several places? www/icon.png and > > res/icon/icon.png and res/icon/<platform>/icon.png (in this order?) > > > > I started to work on CB-2606 > > > > > https://github.com/AxelNennker/cordova-cli/blob/master/src/metadata/android_parser.js#L75 > > but need input from this group how to implement this. > > > > -Axel > > > > > > > > 2013/10/22 Wargo, John <john.wa...@sap.com> > > > > > I brought this up with fil a while back and it's a documented issue in > > > jira. He said config.xml had to be fixed to support different platform > > > icons before something could be done about this. I can dig up the > email > > > and forward it off tomorrow. > > > > > > John M. Wargo > > > > > > > On Oct 18, 2013, at 3:01 PM, "Steven Gill" <stevengil...@gmail.com> > > > wrote: > > > > > > > > They should be in the merge folder under each platform instead of the > > > www. > > > > > > > > > > > >> On Fri, Oct 18, 2013 at 11:52 AM, Shazron <shaz...@gmail.com> > wrote: > > > >> > > > >> When someone creates a vanilla iOS project from the CLI, the default > > > app is > > > >> 8 MB. It's obvious why this is so, the www/res folder includes all > the > > > >> icons for all the platforms and is 8 MB. > > > >> > > > >> Can we change this (why include all icons -- the www should be > > > agnostic), > > > >> or is this a documentation problem. > > > >> > > > > > >