”;
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 |
---|---|
1 |
widget The app reverse domain value that we specified when creating the app. |
2 |
name The name of the app that we specified when creating the app. |
3 |
description Description for the app. |
4 |
author Author of the app. |
5 |
content The app”s starting page. It is placed inside the www directory. |
6 |
plugin The plugins that are currently installed. |
7 |
access 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. |
8 |
allow-intent Allows specific URLs to ask the app to open. For example, <allow-intent href = “tel:*” /> will allow tel: links to open the dialer. |
9 |
platform The platforms for building the app. |
”;