April 2017
Beginner to intermediate
378 pages
7h 57m
English
The config.xml file is a platform-agnostic configuration file. As mentioned earlier, this file consists of all the information needed by Cordova to convert the code in the www folder to the platform-specific installer.
The setting up of the config.xml file is based on W3C's packaged web apps (widgets) specification (http://www.w3.org/TR/widgets/), and it is extended to specify core Cordova API features, plugins, and platform-specific settings. There are two types of configurations that we can add to this file. One is global, that is, common to all devices, and the other is specific to the platform.
If we open config.xml, the first tag we encounter is the XML root tag. Next, we can see the widget tag:
<widget id="app.example.one" ...
Read now
Unlock full access