You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cordova-plugin-file-transfer is not working with cordova 11
My code is
upload(){
var ft = new Transfer();
var options = {
fileKey: 'file',
fileName: 'filename.jpg',
params:{operatiune:'uploadpoza'}
}
ft.upload(this.imageURL,encodeURI("https://www.myserver.com/test.php"),options)
.then((data) => {
// success
alert("image send:"+this.imageURL);
}, (err) => {
// error
alert("err: "+JSON.stringify(err));
})
}
i am using latest cordova version i am getting error Filetransfer is not defined i think its deprecated in latest version
if you are not giving support with latest version can you give me alternate solution
The text was updated successfully, but these errors were encountered:
cordova-plugin-file-transfer is not working with cordova 11
My code is
upload(){
var ft = new Transfer();
var options = {
fileKey: 'file',
fileName: 'filename.jpg',
params:{operatiune:'uploadpoza'}
}
ft.upload(this.imageURL,encodeURI("https://www.myserver.com/test.php"),options)
.then((data) => {
// success
alert("image send:"+this.imageURL);
}, (err) => {
// error
alert("err: "+JSON.stringify(err));
})
}
i am using latest cordova version i am getting error Filetransfer is not defined i think its deprecated in latest version
if you are not giving support with latest version can you give me alternate solution
The text was updated successfully, but these errors were encountered: