diff --git a/hooks/lib/android/webSiteHook.js b/hooks/lib/android/webSiteHook.js index 6a891039..95340656 100644 --- a/hooks/lib/android/webSiteHook.js +++ b/hooks/lib/android/webSiteHook.js @@ -58,7 +58,7 @@ https://developer.android.com/training/app-indexing/enabling-app-indexing.html * @return {String} data from the template file */ function readTemplate(projectRoot) { - var filePath = path.join(projectRoot, 'plugins', 'cordova-universal-links-plugin', 'web_hooks', 'android_web_hook_tpl.html'), + var filePath = path.join(projectRoot, 'plugins', 'cordova-universal-links-plugin', 'ul_web_hooks', 'android_web_hook_tpl.html'), tplData = null; try { @@ -127,7 +127,7 @@ https://developer.android.com/training/app-indexing/enabling-app-indexing.html * @return {boolean} true - if data was saved; otherwise - false; */ function saveWebHook(projectRoot, hookContent) { - var dirPath = path.join(projectRoot, 'web_hooks', 'android'), + var dirPath = path.join(projectRoot, 'ul_web_hooks', 'android'), filePath = path.join(dirPath, WEB_HOOK_FILE_NAME), isSaved = true; diff --git a/hooks/lib/ios/appleAppSiteAssociationFile.js b/hooks/lib/ios/appleAppSiteAssociationFile.js index 6e03aedb..eed5ff0e 100644 --- a/hooks/lib/ios/appleAppSiteAssociationFile.js +++ b/hooks/lib/ios/appleAppSiteAssociationFile.js @@ -72,7 +72,7 @@ TODO: cleanup! } function getWebHookDirectory() { - return path.join(getProjectRoot(), 'web_hooks', 'ios'); + return path.join(getProjectRoot(), 'ul_web_hooks', 'ios'); } function getProjectRoot() { diff --git a/web_hooks/android_web_hook_tpl.html b/ul_web_hooks/android_web_hook_tpl.html similarity index 100% rename from web_hooks/android_web_hook_tpl.html rename to ul_web_hooks/android_web_hook_tpl.html