uploadthing icon indicating copy to clipboard operation
uploadthing copied to clipboard

feat: Terrible downloading behavior on iPhone's In-App browser drawer

Open devklepacki opened this issue 11 months ago โ€ข 13 comments

Describe the feature you'd like to request

I don't really know in which category to put this in. The issue is terrible downloading behavior on the iPhone's in-app browser drawer. I expect this not to be possible to be fixed.

When a direct download link (like: https://utfs.io/f/IdUTzeHLbG...) is accessed from an app (like email or DM app) the drawer page is stuck for a long time. For other people, this seems like a "download not working". The progress bar is at first also stuck.

But what seems to be happening it's like a download is happening FIRST, and only then "save" page is displayed. It's the opposite of regular browser behavior, where the Download popup is displayed right on the page entered. That's happening on my and two clients' phones. Tested on Gmail app, Proton Mail, and Instagram.

It could be that there's something else happening, but that's what I was able to discover. As I said I don't expect this to be possible to be fixed due to this being a native iPhone behavior, but maybe there's something to be done on the Uploadthing side or smarter people can somehow alter the behavior.

Describe the solution you'd like to see

The download should look like it's working inside an In-App Browser Drawer.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR implementing this feature!

devklepacki avatar Jan 03 '25 14:01 devklepacki

Can you provide a screen recording of what you mean is slow and terrible?

juliusmarminge avatar Jan 03 '25 19:01 juliusmarminge

Yes please download screen recordings here: https://share.icloud.com/photos/001fechYx7XZNNdXm6QU4IsiA There's the link opened in a drawer, regular browser window recording, and a segment of a download speed in the Safari shown.

As I said I don't expect this to be fixable, but maybe there's some possible workaround on Uploadthing side, like a fake mime type or some other crazy hack.

devklepacki avatar Jan 03 '25 20:01 devklepacki

Can you provide a bit more detail about the files that you are seeing this occur with? Eg. file size, type, etc.

markflorkowski avatar Jan 03 '25 23:01 markflorkowski

This is encrypted .zip with the size of 126 MB.

devklepacki avatar Jan 03 '25 23:01 devklepacki

OK, I'll play around to see if I can repro this behaviour/figure out what might be happening.

markflorkowski avatar Jan 04 '25 06:01 markflorkowski

Great! Let me know if you need anything, I'm happy to help

devklepacki avatar Jan 05 '25 12:01 devklepacki

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] avatar Jan 16 '25 00:01 github-actions[bot]

keepalive

devklepacki avatar Jan 16 '25 07:01 devklepacki

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] avatar Jan 27 '25 00:01 github-actions[bot]

So far I've not been able to consistently repro this, seems potentially regional/network related?

markflorkowski avatar Jan 28 '25 19:01 markflorkowski

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] avatar Feb 08 '25 00:02 github-actions[bot]

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] avatar Feb 21 '25 00:02 github-actions[bot]

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] avatar Mar 05 '25 00:03 github-actions[bot]