Skip to content

Instantly share code, notes, and snippets.

@adnan360
Created January 29, 2015 19:39
Show Gist options
  • Save adnan360/1b5e645de3db7cf42c35 to your computer and use it in GitHub Desktop.
Save adnan360/1b5e645de3db7cf42c35 to your computer and use it in GitHub Desktop.
Cordova config.xml sample
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.adnan__.yo___" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Yo__ App</name>
<description>
Simple description for tha app.
</description>
<author email="[email protected]" href="http://adnan360.com">
Adnan Shameem
</author>
<content src="index.html" />
<access origin="*" />
<!-- icons can be generated by http://www.arenddeboer.com/cordova-phonegap-default-icon-generator -->
<!-- more help on icons and splash can be found here: http://cordova.apache.org/docs/en/4.0.0/config_ref_images.md.html -->
<icon src="cordova/cordova_128.png"/>
<platform name="android">
<icon src="cordova/cordova_android_36.png" density="ldpi"/>
<icon src="cordova/cordova_android_48.png" density="mdpi"/>
<icon src="cordova/cordova_android_72.png" density="hdpi"/>
<icon src="cordova/cordova_android_96.png" density="xhdpi"/>
</platform>
<platform name="firefoxos">
<!-- 60x60 icon may have to be created manually -->
<icon src="cordova/cordova_60.png" width="60" height="60" />
</platform>
<platform name="blackberry">
<icon src="cordova/cordova_bb_80.png"/>
<icon src="cordova/cordova_bb_80.png" state="hover"/>
</platform>
<icon src="cordova/cordova_ios_57.png" platform="ios" width="57" height="57"/>
<icon src="cordova/cordova_ios_72.png" platform="ios" width="72" height="72"/>
<icon src="cordova/cordova_ios_114.png" platform="ios" width="114" height="114"/>
<icon src="cordova/cordova_ios_144.png" platform="ios" width="144" height="144"/>
<icon src="cordova/cordova_64.png" platform="webos"/>
<icon src="cordova/cordova_48.png" platform="winphone"/>
<icon src="cordova/cordova_173.png" platform="winphone" role="background"/>
<splash src="cordova/res/screen/android_ldpi_portrait.png.png" platform="android" density="ldpi"/>
<splash src="cordova/res/screen/android_mdpi_portrait.png" platform="android" density="mdpi"/>
<splash src="cordova/res/screen/android_hdpi_portrait.png" platform="android" density="hdpi"/>
<splash src="cordova/res/screen/android_xhdpi_portrait.png" platform="android" density="xhdpi"/>
<splash src="cordova/res/screen/blackberry_transparent_300.png" platform="blackberry"/>
<splash src="cordova/res/screen/iphone_portrait.png" platform="ios" width="320" height="480"/>
<splash src="cordova/res/screen/iphone_retina_portrait.png" platform="ios" width="640" height="960"/>
<splash src="cordova/res/screen/ipad_portrait.png" platform="ios" width="768" height="1024"/>
<splash src="cordova/res/screen/ipad_landscape.png" platform="ios" width="1024" height="768"/>
<splash src="cordova/res/screen/windows_phone_portrait.jpg" platform="winphone"/>
</widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment