code: function generateLinksSet(projectRoot, packageName, pluginPreferences) {
    var linkTpl = LINK_TEMPLATE.replace('<package_name>', packageName);
    var content = '';
  
    pluginPreferences.hosts.forEach(function(host) {
      host.paths.forEach(function(hostPath) {
        content += generateLinkTag(linkTpl, host.scheme, host.name, hostPath) + '\n';
      });
    });
  
    return content;
  }
docs: Generate list of <link /> tags based on plugin preferences.
  
  @param {String} projectRoot - absolute path to cordova's project root
  @param {String} packageName - android application package name
  @param {Object} pluginPreferences - plugin preferences, defined in config.xml; already parsed
  @return {String} list of <link /> tags