Wednesday 29 April 2020

Chrome requesting download route twice on iOS?

Hello all, recently I’ve been running into an issue getting file downloading working on iOS. It seems like specially for Chrome/Firefox on iOS, the device requests the download route twice, once before the user clicks the ‘download’ prompt, and once again after the user presses it. This is not a problem on Safari for iOS, and it breaks the authentication for my download routes.I did make a demo: https://github.com/subnub/ios-chrome-download-exampleYou’ll notice in the demo that if you use Chrome or Firefox on iOS it requests the download route twice, not only that it will serve up all the bytes of the first request, and just discard all of them. But, if you use Safari, it will only make the download request once like it should.Any advice would be greatly appreciated, I’ve been stuck on this for some time now.

Submitted April 29, 2020 at 04:58PM by subnub99

No comments:

Post a Comment