Cordova - config.xml File
The config.xml file is the place where we can change the configuration of the app. When we created our app in the last tutorial, we set reverse domain and name. The values can be changed in the config.xml file. When we create the app, the default config file will also be created.
The following table explains configuration elements in config.xml.
config.xml Configuration Table
|S.No||Element & Details|
The app reverse domain value that we specified when creating the app.
The name of the app that we specified when creating the app.
Description for the app.
Author of the app.
The app's starting page. It is placed inside the www directory.
The plugins that are currently installed.
Used to control access to external domains. The default origin value is set to * which means that access is allowed to any domain. This value will not allow some specific URLs to be opened to protect information.
Allows specific URLs to ask the app to open. For example, <allow-intent href = "tel:*" /> will allow tel: links to open the dialer.
The platforms for building the app.