code: function injectOptions(options) {
    platforms.forEach(function(platform) {
      var configXmlFilePath = getPlatformSpecificConfigXml(platform);
      if (configXmlFilePath == null) {
        return;
      }
  
      // read data from config.xml
      var configData = xmlHelper.readXmlAsJson(configXmlFilePath);
      if (configData == null) {
        console.warn('Configuration file ' + configXmlFilePath + ' not found');
        return;
      }
  
      // inject new options
      var chcpXmlConfig = {};
      for (var preferenceName in options) {
        injectPreference(chcpXmlConfig, preferenceName, options[preferenceName]);
      }
  
      // write them back to config.xml
      configData.widget['chcp'] = [];
      configData.widget.chcp.push(chcpXmlConfig);
      xmlHelper.writeJsonAsXml(configData, configXmlFilePath);
    });
  }
docs: Write provided options into config.xml file for each platform.
  
  @param {Object} options - plugin options