Learning Cordova's config.xml? Check out this online tool

This post is more than 2 years old.

If you are having trouble understanding how to use PhoneGap/Cordova's config.xml file, or perhaps just want to see examples of what various options do, please check out Holly Schinsky's excellent new tool: Interactive Guide to PhoneGap config.xml.

Her tool lets you browse a config.xml file and see documentation on each and every major feature. Even better, she includes lots of screen shots and animations to give you a visual idea of what certain settings change.

shot1

p.s. Ok, this isn't new, but I don't see a lot of people talking about it so I figured it deserved some press. ;)

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Atte posted on 3/27/2015 at 6:57 AM

I succesfully build the app for ios in phonegap. But when I try to send the app to itunes (with Application Loader 3.0 on a mac) I get this two errors. Does anyone know what I have done wrong?

ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

ERROR ITMS-90208: "Invalid Bundle. The bundle DiziMap.app does not support the minimum OS Version specified in the Info.plist."

My config.xml:

<widget id="net.ionicframework.myapp" xmlns:gap="http://phonegap.com/ns/1.0" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/n...">

<name>Myapp</name>

<description>

A discr

</description>

<author email="info@asdfasdf.net" href="http://www.dfasdfsdf.net/">

</author>

<content src="index.html"/>

<access origin="*"/>

<preference name="webviewbounce" value="false"/>

<preference name="UIWebViewBounce" value="false"/>

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

<preference name="BackupWebStorage" value="none"/>

<preference name="SplashScreen" value="screen"/>

<preference name="SplashScreenDelay" value="3000"/>

<feature name="StatusBar">

<param name="ios-package" value="CDVStatusBar" onload="true"/>

</feature>

<icon src="res/ios/icon.png" gap:platform="ios" width="57" height="57"/>

<icon src="res/ios/icon-76.png" gap:platform="ios" width="76" height="76"/>

<icon src="res/ios/icon-72.png" width="72" height="72"/>

<icon src="res/ios/icon-60@2x.png" gap:platform="ios" width="120" height="120"/>

<icon src="res/ios/icon-76@2x.png" gap:platform="ios" width="152" height="152"/>

<preference name="deployment-target" value="8.0"/>

<gap:plugin name="com.ionic.keyboard"/>

<gap:plugin name="org.apache.cordova.device" source="plugins.cordova.io"/>

<gap:plugin name="org.apache.cordova.geolocation" source="plugins.cordova.io"/>

<gap:plugin name="org.apache.cordova.inappbrowser" source="plugins.cordova.io"/>

<gap:plugin name="org.apache.cordova.splashscreen" source="plugins.cordova.io"/>

<gap:plugin name="com.microsoft.azure-mobile-services" source="plugins.cordova.io"/>

</widget>

Comment 2 (In reply to #1) by Raymond Camden posted on 3/27/2015 at 10:44 AM

Your comment is not really on topic for this blog post. Please post your question to StackOverflow, or the PhoneGap Google Group.

Comment 3 by Parthiban S posted on 4/24/2015 at 5:46 AM

I need to create a custom error page in Cordova project. I successfully created custom error page in simple cordova project. But when i implement the same procedure in Application. It is display web page not unavailable instead of custom error page. So it is possible to implement in custom error in tab bar?

Comment 4 (In reply to #3) by Raymond Camden posted on 4/24/2015 at 10:47 AM

I'm afraid I don't quite understand what you are asking. How exactly ddi you implement a custom error page?

Comment 5 by Apollyon Yagami posted on 7/16/2020 at 12:24 PM

link is broken

Comment 6 (In reply to #5) by Raymond Camden posted on 7/16/2020 at 1:57 PM

Sorry. Maybe reach out to Holly on Twitter.