DhanushNehru / DhanushNehru/OpenDrop
connection not ready : first connection issue
- Dominant language
- JavaScript
- Stars
- 56
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
issue re-creation
1. Open the tab on desktop
2. Open the same tab on mobile
3. Try sending a file from the desktop by clicking on the user (both devices connected to the same Wi-Fi)
At first it shows "connection not ready". But if you try sending again right after that, it shows "waiting to accept" and works perfectly
I assume this is a first-connection timing issue. When I click on the user I want to send a file to, and then select a file and press send, the app starts initializing the connection and tries to send the file at the same time.
The connection probably needs a short wait time to finish initializing. A possible fix could be to start initializing the connection as soon as the user clicks on a icon instead of waiting until the send action
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.