code: function getBranchXml(configXml) {
      const branchConfig = configXml.widget["branch-config"];
  
      if (branchConfig == null || branchConfig.length === 0) {
        throw new Error(
          "BRANCH SDK: <branch-config> tag is not set in the config.xml. Docs https://goo.gl/GijGKP"
        );
      }
  
      return branchConfig[0];
    }
docs: read <branch-config> within config.xml