]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 9 Apr 2014 13:11:06 +0000 (13:11 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 9 Apr 2014 13:11:06 +0000 (13:11 +0000)
inc/ws/Util/class.ws.exporter.php

index eaa0365525d05a07daccc39f2e4d369e623f9abc..f36a4b9431a39c52e7e7b208ab2b3ebfc2eac9d8 100644 (file)
@@ -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;