From f5c522d1f323a48d793f7a4c230461a8710fae1e Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 9 Apr 2014 13:11:06 +0000 Subject: [PATCH] --- inc/ws/Util/class.ws.exporter.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index eaa036552..f36a4b943 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -53,7 +53,7 @@ class wsExporter { } $phonegap->setWWWDirectory($dir); if ($os == 'ios') { - $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', '', '/Phonegap/Projects/' . $d, '/mnt/macbox/Phonegap/Projects/' . $d, 22022); + $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', 'iquique', '/Phonegap/Projects/' . $d, '/mnt/macbox/Phonegap/Projects/' . $d, 22022); } else if ($os == 'android') { $manifestType = $collection->settings['offline'] ? 'Offline' : 'Online'; $phonegap->setManifest(WS_COMPILE_ASSETS . '/_html5app/_android/AndroidManifest' . $manifestType . '.xml'); @@ -76,11 +76,15 @@ class wsExporter { CubeIT_Mobile_Phonegap::FEATURE_SPLASHSCREEN, CubeIT_Mobile_Phonegap::FEATURE_GLOBALIZATION, CubeIT_Mobile_Phonegap::FEATURE_PUSHNOTIFICATION, - CubeIT_Mobile_Phonegap::FEATURE_DEBUG, - CubeIT_Mobile_Phonegap::FEATURE_EXTERNALFILEUTIL, - CubeIT_Mobile_Phonegap::FEATURE_WEBINTENT + CubeIT_Mobile_Phonegap::FEATURE_DEBUG ) ); + if ($os == 'ios') { + $phonegap->addFeature(CubeIT_Mobile_Phonegap::FEATURE_EXTERNALFILEUTIL); + } else if ($os == 'android') { + $phonegap->addFeature(CubeIT_Mobile_Phonegap::FEATURE_WEBINTENT); + } + $allpub = $compiler->books; -- 2.39.5