scripts/lib/chcpConfigXmlReader.js
function readOptions(ctx) {
  var configFilePath = path.join(ctx.opts.projectRoot, 'config.xml');
  var configXmlContent = xmlHelper.readXmlAsJson(configFilePath, true);

  return parseConfig(configXmlContent);
}
function readOptions(ctx) {
  var configFilePath = path.join(ctx.opts.projectRoot, 'config.xml');
  var configXmlContent = xmlHelper.readXmlAsJson(configFilePath, true);

  return parseConfig(configXmlContent);
}
function readOptions ( ctx ) { var configFilePath = path . join ( ctx . opts . projectRoot , 'config.xml' ) ; var configXmlContent = xmlHelper . readXmlAsJson ( configFilePath , true ) ; return parseConfig ( configXmlContent ) ; }
region Public API 
Read plugin options from config.xml.
If none is specified - default options are returned.

@param {Object} ctx - cordova context object
@return {Object} plugin prefereces
region Public API Read plugin options from config . xml . If none is specified - default options are returned .