cordova - Where do you set app properties normally specified in the appmanifest file? -
i trying change
- the name of splash screen file windows 8 app
- the background colour. set dark grey currently.
can't find anywhere in config.xml
those set in .appxmanifest file
to set platform specific assets ( logo instance), need add(or replace) image in res/icons/windows8/ following resolution , naming guidelines mentioned in platform-specific visual assets section of mdha documentation.
mdha uses cordova cli build each platform. platform specific .appxmanifest overwritten every time build happens. therefore, not advisable make changes manifest directly.
this has been answered @ https://stackoverflow.com/a/25193978/3900092
edit
to set background color splash screen, need set backgroundcolor
preference in config.xml
file
<preference name="backgroundcolor" value="0xff0000ff"/>
this set property within <visualelements>
tag.
if need set particular platform, encapsulate preference within platform tag documented @ per platform configuration (config.xml) on cordova
Comments
Post a Comment