hooks/lib/ios/appleAppSiteAssociationFile.js
function createNewAssociationFiles(pluginPreferences) {
  var teamId = pluginPreferences.iosTeamId;
  if (!teamId) {
    teamId = IOS_TEAM_ID;
  }

  pluginPreferences.hosts.forEach(function(host) {
    var content = generateFileContentForHost(host, teamId);
    saveContentToFile(host.name, content);
  });
}
function createNewAssociationFiles(pluginPreferences) {
  var teamId = pluginPreferences.iosTeamId;
  if (!teamId) {
    teamId = IOS_TEAM_ID;
  }

  pluginPreferences.hosts.forEach(function(host) {
    var content = generateFileContentForHost(host, teamId);
    saveContentToFile(host.name, content);
  });
}
function createNewAssociationFiles ( pluginPreferences ) { var teamId = pluginPreferences . iosTeamId ; if ( ! teamId ) { teamId = IOS_TEAM_ID ; } pluginPreferences . hosts . forEach ( function ( host ) { var content = generateFileContentForHost ( host , teamId ) ; saveContentToFile ( host . name , content ) ; } ) ; }
Generate new set of apple-app-site-association files.

@param {Object} pluginPreferences - list of hosts from config.xml
Generate new set of apple - app - site - association files .