Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cordova-plugin-file-transfer is not working with cordova 11 #337

Open
asif746 opened this issue Jun 3, 2022 · 2 comments
Open

cordova-plugin-file-transfer is not working with cordova 11 #337

asif746 opened this issue Jun 3, 2022 · 2 comments

Comments

@asif746
Copy link

asif746 commented Jun 3, 2022

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

@pixellet14
Copy link

Same here

@rolinger
Copy link

For anyone still needing a solution, see this post:

#339 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants