I want to write a config.xml such that it can be used by both phonegap build and phonegap CLI.
For the default icon,
phonegap build requires the icon to be placed under app/www/icon.png, and config.xml declared as
<icon src="icon.png" />
But in phonegap cli, it seems that it is unable to recognize the path above. And will throw an error while building.
i have also tried
<icon src="www/icon.png" />
But this does not work in phonegap build. The app icon is displayed on the webpage, but the app downloaded does not have an icon.
Does anyone know what is the best way to resolve this issue?