schlagmichdoch / PairDrop

PairDrop: Local file sharing in your browser. Inspired by Apple's AirDrop. Fork of Snapdrop.
https://pairdrop.net
GNU General Public License v3.0
3.66k stars 193 forks source link

[Bug] Duplicate "successful download" notification (Android app) #299

Closed swanknight closed 1 month ago

swanknight commented 1 month ago

Describe the bug Whenever I send a file from my PC to my tablet, I always get two identical notifications from the Snapdrop app stating that the download was successful.

To Reproduce Steps to reproduce the behavior:

  1. Go to pairdrop.net
  2. Send file to tablet
  3. See two notifications

Expected behavior One notification is enough...

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Bug occurs on official PairDrop instance https://pairdrop.net/ Yes Version: v1.10.8

Bug occurs on self-hosted PairDrop instance No idea

Self-Hosted Setup Proxy: Nginx | Apache2 Deployment: docker run | docker compose | npm run start:prod Version: v1.10.8

Additional context I'm using the official Snapdrop & Pairdrop Android app version 2.2.4 on my tablet.

schlagmichdoch commented 1 month ago

Does this also happen when using PairDrop itself (via a browser) or is this only an issue with the Android app?

swanknight commented 1 month ago

Does this also happen when using PairDrop itself (via a browser) or is this only an issue with the Android app?

I don't normally use the browser to received files, but I just tested it with DuckDuckGo browser on my tablet, and it seems that this issue is isolated to the Android app.

I noticed another problem with the app, sometimes it insists that I am offline, and only after I close it and re-open it, does it realize that I'm in fact online. Not sure if I should create a new issue about this though.

schlagmichdoch commented 1 month ago

Thanks for testing! Please move your issue to the Android app repository (which I am not maintaining): https://github.com/fm-sys/snapdrop-android

I guess the offline issue should be a separate issue over at the Android app repo