The cordova.xml file is a configuration file that specifies settings for white URLs, log level, and rendering. The file was previously named phonegap.xml and was renamed when Adobe / Nitobi donated the PhoneGap code base to the Apache Software Foundation (ASF) for incubation.
The file contains three settings.
First up is:
<access origin>
which defines an approved list of URLs that can be downloaded. These URLs are added to the white list cache in the DroidGap class. Only whitelisted URLs can be downloaded in the Cordova web browser or in a new instance of the browser.
Secondly:
<log level>
which determines the log level for debugging on Android. It can be set to ERROR, WARN, INFO, DEBUG or VERBOSE (default = ERROR).
Thirdly:
<preference name="classicRender" />
which sets the field
private boolean classicRender;
in the DroidGap class. The only reference to what it actually does, which I can find, is in this Cordoba commit :
if(android.os.Build.VERSION.SDK_INT < 14 && this.classicRender) {
Perhaps it is more useful to know that it seems to have been removed , as it does not work properly.
The cordova.xml file is parsed in the DroidGap class in the loadConfiguration () method:
private void loadConfiguration() { int id = getResources().getIdentifier("cordova", "xml", getPackageName()); ... XmlResourceParser xml = getResources().getXml(id); etc...
See line 1252 in the DroidGap class for the full loadConfiguration () method. All three attributes are parsed, but the link above looks that the classicRender parameter is not working and can be ignored.