Downloads do not work on iOS while using Chrome.
subnub opened this issue · 1 comments
I would like to just open this issue myself to let everyone know I am aware of it, currently the only browser that supports downloads on iOS is Safari, I would advise using Safari for myDrive on iOS until I create an app or something.
This is because Chrome/Firefox requests downloads twice on iOS, once before the user clicks the download prompt, and then another once the user actually presses it. This breaks the temporary token that myDrive uses for the download routes, and there is no simple fix without risking making the download route insecure (At Least that I am aware of, please let me know if you have any solutions).
I even made a demo of this behavior where I stripped away all the complicated parts, and just serve the file download, you will notice it always requests the file twice on iOS while using Chrome, while it will only request it once on Safari.
This has been fixed in the newest version of myDrive. MyDrive switched to a cookie authentication scheme which has the side effect of fixing this issue.