apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
598 stars 885 forks source link

When ionic3 uploads files with the file-transfer plug-in, neither successful nor failed callbacks are executed? #220

Closed 365436741 closed 4 years ago

365436741 commented 5 years ago

When ionic3 uploads files with the file-transfer plug-in, neither successful nor failed callbacks are executed? const fileTransfer: FileTransferObject = this.transfer.create();

fileTransfer.upload(that.imgPath, encodeURI(url), options).then(function (data) {

console.log('ok');

}, function (err) {

console.log('err');

});

android5.0 cordova-plugin-file-transfer1.7.1

janpio commented 5 years ago

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

Otherwise, please report this at the Ionic library you are using (probably Ionic Native).

timbru31 commented 4 years ago

Closing due to lack of feedback.