The Cordova config.xml file is the global configuration file of the application.
The Cordova configuration file is a mandatory XML file that contains application metadata, and is stored in the root directory of the app. The file is automatically generated when you create a Cordova application. You can then modify it to add custom properties.
You can find more general information about this file in the Apache Cordova config.xml documentation.
To know more about any MobileFirst-specific configuration, refer to the following sections.
To view detailed information about any MobileFirst-specific configuration, click the element name in the file description, or in the alphabetical list that follows the description.
<?xml version='1.0'encoding='utf-8'?>
<widget>
<name>...</name>
<description>...</description>
<author>...</author>
<content/>
<plugin/>
<access/>
<allow-intent/>
<platform>
<allow-intent/>
<icon/>
<splash/>
<update/>
</platform>
<mfp:platformVersion>...</mfp:platformVersion>
<mfp:directUpdateAuthenticityPublicKey>...</mfp:directUpdateAuthenticityPublicKey>
<mfp:languagePreferences>...</mfp:languagePreferences>
<mfp:clientCustomInit/>
<mfp:server/>
<mfp:ios>
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:ios>
<mfp:android>
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:android>
<mfp:windows>
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:windowsphone8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windowsphone8>
<mfp:windows8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows8>
<mfp:windows10>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows10>
</mfp:windows>
</widget>
<widget id="my.mfp.cordova.with.push.plugin"
version="1.0.5"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:mfp="http://www.ibm.com/mobilefirst/cordova-plugin-mfp">
...
</widget>
<mfp:platformVersion>8.0.0.00.20160205-2039</mfp:platformVersion>
<mfp:directUpdateAuthenticityPublicKey>public_key_string</mfp:directUpdateAuthenticityPublicKey>
For more details about themfpdev app config command, type mfpdev help app config in your command window.
<mfp:languagePreferences>en</mfp:languagePreferences>
For more details about the mfpdev app config command, type mfpdev help app config in your command window.
<mfp:clientCustomInit enabled="false"/>
<mfp:server
url="http://10.0.0.1:9080"
runtime="mfp" />
For more details about the mfpdev app config command, type mfpdev help app config in your command window.
<mfp:ios>
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:ios>
<mfp:android
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:android>
<mfp:windows>
<mfp:appChecksum>...</mfp:appChecksum>
<mfp:windowsphone8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windowsphone8>
<mfp:windows8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows8>
<mfp:windows10>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows10>
</mfp:windows>
This element contains all MobileFirst-related client application configuration for the Windows platforms.
<mfp:windows8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows8>
<mfp:windowsphone8>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windowsphone8>
<mfp:windows10>
<mfp:sdkChecksum>...</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum/>
</mfp:security>
</mfp:windows10>
This element contains all MobileFirst-related client application configuration for Windows 10 Universal Windows Platform (UWP).
<mfp:appChecksum>1234567890</mfp:appChecksum>
For more details about the mfpdev app webupdate command, type mfpdev help app webupdate in your command window.
<mfp:sdkChecksum>2101152546</mfp:sdkChecksum>
<mfp:security>
<mfp:testWebResourcesChecksum
enabled="false"
ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3/>
</mfp:security>
This element contains the client application's platform-specific configuration for MobileFirst security.
<mfp:testWebResourcesChecksum
enabled="false"
ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
For more details about the mfpdev app config command, type mfpdev help app config in your command window.