examples/cordova1/plugins/branch-cordova-sdk/src/scripts/npm/processConfigXml.js
function read(context) {
    const projectRoot = getProjectRoot(context);
    const configXml = getConfigXml(projectRoot);
    const branchXml = getBranchXml(configXml);
    const branchPreferences = getBranchPreferences(
      context,
      configXml,
      branchXml
    );

    validateBranchPreferences(branchPreferences);

    return branchPreferences;
  }
function read(context) {
    const projectRoot = getProjectRoot(context);
    const configXml = getConfigXml(projectRoot);
    const branchXml = getBranchXml(configXml);
    const branchPreferences = getBranchPreferences(
      context,
      configXml,
      branchXml
    );

    validateBranchPreferences(branchPreferences);

    return branchPreferences;
  }
function read ( context ) { const projectRoot = getProjectRoot ( context ) ; const configXml = getConfigXml ( projectRoot ) ; const branchXml = getBranchXml ( configXml ) ; const branchPreferences = getBranchPreferences ( context , configXml , branchXml ) ; validateBranchPreferences ( branchPreferences ) ; return branchPreferences ; }
read branch config from config.xml
read branch config from config . xml