szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
10.07k stars 735 forks source link

Disconnects when inside file browser. #123

Open sebbes333 opened 2 years ago

sebbes333 commented 2 years ago

Setup: Phone, Android (chrome) ----> PC, Windows (Firefox).

When I try to send multiple pictures from my phone, it disconnects while I'm inside the file browser, so when I press "Ready" to send, then it doesn't know who to send the pictures to, and nothing happens.

After some testing, it seams to disconnect after about 10-15 seconds, even if no picture is selected.

I have some guesses to what the problem could be:

Anyway, this is annoying & makes it hard to use ShareDrop, even though it's otherwise an awesome program.

szimek commented 2 years ago

Hi! Can't say for sure, but most likely it's the first issue you suggested. What device do you have? I remember having the same issue on an old Android phone, where Android was killing the browser tab in the background and I couldn't select even a single file.

kchudoba commented 2 years ago

I just had the same problem with Chrome on Galaxy S9. I am not sure if it will work, but perhaps playing a video or even audio in the tab could help keep it alive.

gy-mate commented 1 year ago

I have the same issue using Safari 16.2 on macOS 13.1. If I switch to another tab, the browser doesn't kill the whole tab, but it probably cancels some background tasks of the ShareDrop tab, resulting in the other party disappearing from the ShareDrop page and the transfer being cancelled.