1 Reply Latest reply on Oct 22, 2016 12:15 AM by VectorP

    why build don't add cordova-plugin-file?

    landyf6765011

      hello guys

      in the past (11-08-2016) i made the release of my app for android...actually this apk function ok. Few days, i was writing some changes ...in this time, i include the new phonegap version 6.3.0... the compilation was sucessfully but...the upload of my imagines fails silently..(no errors appears) ...specifically the instruction

       

      ft.upload(fileURL, encodeURI(server_url+php_url+"uploadFoto.php"), uploadFotoSuccess, uploadFotoFail, options);

       

      receives no response...nothing.

      The php script is ok. I checked with the previos app version which actually function ok. When I try to compile again my old source discovered the error uploading the image was repeated....just i notice.

      2016-10-20 09.28.20.jpg

      aqui les adjunto mi config.xml

       

      <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.mybussines.myapp" version="0.0.2">

        <name>my app</name>

        <description>description of my app</description>

        <author href="http://www.myweb.net" email="info@myweb.net">KWSystems Team</author>

        <content src="index.html"/>

        <preference name="phonegap-version" value="cli-6.0.0" />

        <preference name="orientation" value="default"/>

        <preference name="target-device" value="universal"/>

        <preference name="deployment-target" value="7.0" />

        <preference name="fullscreen" value="true"/>

        <preference name="webviewbounce" value="true"/>

        <preference name="prerendered-icon" value="true"/>

        <preference name="stay-in-webview" value="false"/>

        <preference name="ios-statusbarstyle" value="black-opaque"/>

        <preference name="detect-data-types" value="true"/>

        <preference name="exit-on-suspend" value="false"/>

       

        <preference name="SplashScreen" value="screen"/>

        <preference name="SplashScreenDelay" value="10000" />

        <preference name="auto-hide-splash-screen" value="false"/>

       

        <preference name="disable-cursor" value="false"/>

        <preference name="android-minSdkVersion" value="15"/>

        <preference name="android-installLocation" value="auto"/>

         

        <preference name="AndroidPersistentFileLocation" value="Compatibility" />

       

        <preference name="BackupWebStorage" value="none" />

       

        <gap:plugin name="cordova-plugin-battery-status" source="npm" />

        <gap:plugin name="cordova-plugin-camera" source="npm"/>

        <gap:plugin name="cordova-plugin-compat" source="npm"/>

        <gap:plugin name="cordova-plugin-media-capture" source="npm"/>

        <gap:plugin name="cordova-plugin-console" source="npm"/>

        <gap:plugin name="cordova-plugin-contacts" source="npm"/>

        <gap:plugin name="cordova-plugin-device" source="npm"/>

        <gap:plugin name="cordova-plugin-device-motion" source="npm"/>

        <gap:plugin name="cordova-plugin-device-orientation" source="npm"/>

        <gap:plugin name="cordova-plugin-dialogs" source="npm"/>

        <gap:plugin name="cordova-plugin-file" source="npm"/>

        <gap:plugin name="cordova-plugin-file-transfer" source="npm"/>

        <gap:plugin name="cordova-plugin-geolocation" source="npm"/>

        <gap:plugin name="cordova-plugin-globalization" source="npm"/>

        <gap:plugin name="cordova-plugin-inappbrowser" source="npm"/>

        <gap:plugin name="cordova-plugin-media" source="npm"/>

        <gap:plugin name="cordova-plugin-network-information" source="npm"/>

        <gap:plugin name="cordova-plugin-splashscreen" />

        <gap:plugin name="cordova-plugin-vibration" source="npm"/>

        <gap:plugin name="cordova-plugin-facebook4" source="npm">

        <param name="APP_ID" value="1243247322370884" />

        <param name="APP_NAME" value="HEY U!" />

        </gap:plugin>

        <!--<gap:plugin name="nl.x-services.plugins.socialsharing" />-->

       

        <gap:plugin name="com.paypal.cordova.mobilesdk" version="3.1.23" source="npm" />

       

        <gap:plugin name="cordova-plugin-phonertc" source="npm" />

       

        <icon src="icon.png"/>

        <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/>

        <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/>

        <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/>

        <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/>

       

        <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry"/>

        <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

       

        <!-- IOS 7.0+

        iPhone 6 / 6+ -->

        <icon src="res/icon/ios/icon-60@3x.png" gap:platform="ios" width="180" height="180" />

        <!-- iPhone / iPod Touch  -->

        <icon src="res/icon/ios/icon-60.png" gap:platform="ios" width="60" height="60" />

        <icon src="res/icon/ios/icon-60@2x.png" gap:platform="ios" width="120" height="120" />

        <!-- iPad -->

        <icon src="res/icon/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

        <icon src="res/icon/ios/icon-76@2x.png" gap:platform="ios" width="152" height="152" />

        <!-- Settings Icon -->

        <icon src="res/icon/ios/icon-small.png" gap:platform="ios" width="29" height="29" />

        <icon src="res/icon/ios/icon-small@2x.png" gap:platform="ios" width="58" height="58" />

        <!-- Spotlight Icon -->

        <icon src="res/icon/ios/icon-40.png" gap:platform="ios" width="40" height="40" />

        <icon src="res/icon/ios/icon-40@2x.png" gap:platform="ios" width="80" height="80" />

        <!-- IOS 6.1

        iPhone / iPod Touch -->

        <icon src="res/icon/ios/icon.png" gap:platform="ios" width="57" height="57" />

        <icon src="res/icon/ios/icon@2x.png" gap:platform="ios" width="114" height="114" />

        <!-- iPad -->

        <icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72" />

        <icon src="res/icon/ios/icon-72@2x.png" gap:platform="ios" width="144" height="144" />

        <!-- iPad Spotlight and Settings Icon -->

        <icon src="res/icon/ios/icon-50.png" gap:platform="ios" width="50" height="50" />

        <icon src="res/icon/ios/icon-50@2x.png" gap:platform="ios" width="100" height="100" />

       

        <icon src="res/icon/webos/icon-64.png" gap:platform="webos"/>

       

        <icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone"/>

        <icon src="res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/>

       

        <!--### SPLASH SCREEN ### -->

       

        <gap:splash src="res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/>

        <gap:splash src="res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/>

        <gap:splash src="res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/>

        <gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/>

       

        <gap:splash src="res/screen/blackberry/screen-225.png" gap:platform="blackberry"/>

       

        <!-- iPhone and iPod touch -->

        <gap:splash src="res/screen/ios/Default.png" gap:platform="ios" width="320" height="480" />

        <gap:splash src="res/screen/ios/Default@2x.png" gap:platform="ios" width="640" height="960" />

       

       

        <!-- iPhone 5 / iPod Touch (5th Generation) -->

        <gap:splash src="res/screen/ios/Default-568h@2x.png" gap:platform="ios" width="640" height="1136" />

       

       

        <!-- iPad -->

        <gap:splash src="res/screen/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1024" />

        <gap:splash src="res/screen/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="768" />

       

       

        <!-- Retina iPad -->

        <gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048" />

        <gap:splash src="res/screen/ios/Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536" />

       

        <gap:splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>

        <gap:splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>

        <gap:splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>

        <gap:splash src="splash.png" />

       

        <access origin="*"/>

        <gap:plugin name="cordova-plugin-whitelist" source="npm"/>

        <allow-intent href="http://*/*"/>

        <allow-intent href="https://*/*"/>

        <allow-intent href="tel:*"/>

        <allow-intent href="sms:*"/>

        <allow-intent href="mailto:*"/>

        <allow-intent href="geo:*"/>

        <platform name="android">

          <allow-intent href="market:*"/>

       

        </platform>

        <platform name="ios">

          <allow-intent href="itms:*"/>

          <allow-intent href="itms-apps:*"/>

        </platform>

      </widget>

       

      In the other hands... i test too changing the plugin declaration with the version that was last version in date 11-08-2016 of the following plugin :

      <gap:plugin name="cordova-plugin-file" version="4.2.0" source="npm"/>

      <gap:plugin name="cordova-plugin-file-transfer" version="1.5.1" source="npm"/>

       

      and nothing... the error is present again.

       

      ... somebody help me please!!!