Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

FileTransfer.download doesn't overwrite existing file on iOS (at least for me) #236

Open
jaandrle opened this issue Nov 28, 2018 · 0 comments

Comments

@jaandrle
Copy link

Hi, I'm appending an unique query string in path in my fileTransfer.download wrapper. So, if there are others with the same issue, it can be helpfull to add something like:

var ios_fix= ""; if(Helpers.isCordovaIOS()) ios_fix= "?v="+Math.random();//against iOS caching
/* ... */
      fileTransfer.download(
        img_src+ios_fix,
        filePath+ios_fix,

nearby

filePath,

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

No branches or pull requests

1 participant