extra/hooks/iosrtc-swift-support.js
function getProjectName(protoPath) {
	var
		cordovaConfigPath = path.join(protoPath, 'config.xml'),
		content = fs.readFileSync(cordovaConfigPath, 'utf-8');

	return /<name>([\s\S]*)<\/name>/mi.exec(content)[1].trim();
}
function getProjectName(protoPath) {
	var
		cordovaConfigPath = path.join(protoPath, 'config.xml'),
		content = fs.readFileSync(cordovaConfigPath, 'utf-8');

	return /<name>([\s\S]*)<\/name>/mi.exec(content)[1].trim();
}
function getProjectName ( protoPath ) { var cordovaConfigPath = path . join ( protoPath , 'config.xml' ) , content = fs . readFileSync ( cordovaConfigPath , 'utf-8' ) ; return / <name>([\s\S]*)<\/name> / mi . exec ( content ) [ 1 ] . trim ( ) ; }
Helpers Returns the project name
Helpers Returns the project name