The Config.xml in Phonegap / Apache Cordova

Want create site? Find Free WordPress Themes and plugins.

This article is all about config.xml in phonegap. Config.xml is useful for configuring your mobile application such as application name, global identifier, versions name, device orientation and more

 

Steps:

Open config.xml in your project folder and you can modify those.
Changing Application Name, Description, Author name, Author Email

<widget id="com.phonegappro.myapp" version="2.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> 
<name>Application Name</name>
 <description>
 You can Change your application description 
 </description>
 <author email="sundaravelit@gmail.com" href="http://codesundar.com">
 Lucin
 </author>

How to Setup icon for Phonegap / Apache Cordova Applications ?

For more Setup Icon for Phonegap / Apache Cordova Project

 <icon src="res/icon.png" />

 

How to setup fullscreen Application using Phonegap / Apache Cordova ?

 <preference name="fullscreen" value="true" />

 

How to Change Device Orientation in Phonegap / Apache Cordova Applications ?

<preference name="Orientation" value="portrait" />

or

<preference name="Orientation" value="landscape" />

 

How to Setup Splash Screen for Phonegap / Apache Cordova Applications ?

Read this article for Setup Splash Screen for Phonegap / Apache Cordova Project and Phonegap Icon & Splash Screen Sizes

 <platform name="android">
 <!-- you can use any density that exists in the Android project -->
 <splash src="res/hdpi.png" density="port-hdpi"/>
 <splash src="res/ldpi.png" density="port-ldpi"/>
 <splash src="res/mdpi.png" density="port-mdpi"/>
 <splash src="res/xhdpi.png" density="port-xhdpi"/>
 </platform>
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="5000" />
Did you find apk for android? You can find new Free Android Games and apps.
MyMail WordPress Plugin free
Save $50 USD on Ionic Firebase Chat Source CodeEXPLORE