config.xmlfile is a settings file controlling various settings of Cordova.
"1.22.33", it will be 102233 (=1 * 10000 + 22 * 100 + 33). If the project uses Crosswalk, it will be
2xxxxxxfor ARM architecture and
7xxxxxxfor x86 architecture.
<content>element defines the app's starting page in the top-level web assets directory. You can change the starting page by changing the value of the
srcattribute to your preferred URL.
*, you can access all domains from your app.
<preference>tag sets various options as pairs of name/value attributes. Each preference's name is case-insensitive. Many preferences are unique to specific platforms, as listed at the top of this page. The following sections detail preferences that apply to more than one platform.
Internal: will put persistent files under the user’s application internal storage directory.
Compatibility: will put persistent files under storage root.
default: uses system default screen orientation.
landscape: sets screen orientation to landscape mode.
portraitsets screen orientation to portrait mode.
config.xmldoes not specify a location for the persistent filesystem. Switching the value of
Internalwould mean that existing users who upgrade their application may be unable to access their previously-stored files, depending on their device.