joaomgcd / JoinDesktop

A desktop app for Join built in Electron
238 stars 19 forks source link

Clipboard Sync: "Phone -> PC" not working #24

Closed rodrigoswz closed 3 years ago

rodrigoswz commented 3 years ago

Clipboard Sync from my PC to phone works perfectly, but the reverse (phone to pc) is unfortunately not working. It only results in a single message in the console log: Socket message GCMAutoClipboard

image

Both devices are connected on the same network.

Detail is that if I use the action "Get Clipboard", I can get the clipboard from my phone on my pc normally.

Join Desktop: 0.5.2 Join Android: 2.4.4-beta Device: Xiaomi Mi 9T Android version: 11 (AOSP, not MIUI)

joaomgcd commented 3 years ago

Did you enable syncing from the phone to the PC in the phone app?

rodrigoswz commented 3 years ago

Yes

Screenshot_20210503-103831.png

joaomgcd commented 3 years ago

Does that message in the log appear every single time you copy something to the clipboard on the phone?

rodrigoswz commented 3 years ago

Exactly, I did a test right now to see if the message repeated when copying over and over again image

joaomgcd commented 3 years ago

Thanks. Are you using the latest release from Github?

rodrigoswz commented 3 years ago

Yes, 0.5.2

joaomgcd commented 3 years ago

Does it work if you send the clipboard manually?

rodrigoswz commented 3 years ago

I tried send clipboard from phone to pc using bubbles and it worked perfectly, it just doesn't work automatically

joaomgcd commented 3 years ago

Hi again. Sorry for the delay. Is it still not working on version 1.0.2?

rodrigoswz commented 3 years ago

Hi again. Sorry for the delay. Is it still not working on version 1.0.2?

Hi João! Unfortunately the exact same problem persists on v1.0.2.

PC -> Phone: works fine Phone -> PC: Socket message GCMAutoClipboard occurs in console log, without setting clipboard

image

joaomgcd commented 3 years ago

Hhmm, are you using encryption?

If you are, can you please try this version? https://drive.google.com/open?id=1wWAi8fxnMsFObo6HZUuvDsteeth1c9qh

rodrigoswz commented 3 years ago

Hhmm, are you using encryption?

Yes

If you are, can you please try this version? https://drive.google.com/open?id=1wWAi8fxnMsFObo6HZUuvDsteeth1c9qh

I tested it, it still didn't work

joaomgcd commented 3 years ago

Ok, I think I cracked it this time! 😁 Can you please try this version? https://drive.google.com/open?id=1wWAi8fxnMsFObo6HZUuvDsteeth1c9qh

rodrigoswz commented 3 years ago

Can you please try this version? https://drive.google.com/open?id=1wWAi8fxnMsFObo6HZUuvDsteeth1c9qh

YES! Working correctly with this version!

Thank you so much João, closing this issue :)

joaomgcd commented 3 years ago

Great! :) Glad it works!!