chrisknepper / android-messages-desktop

Android Messages as a Cross-platform Desktop App
MIT License
1.01k stars 116 forks source link

Unread Badge not being removed when read #69

Open lexluthor5 opened 6 years ago

lexluthor5 commented 6 years ago

I see you closed the adding of the unread badge issue, so I'll start a new issue here.

Windows 10. If I get a new message, the windows badge correctly appears. If I read the message on my phone, the unread badge does not go away on the desktop. If I do the same thing with the basic shortcut, the unread badge does go away. If I open your android messages app on the desktop, it does show that the message is read and then the badge goes away, so that is making it to you that it's ready, you just aren't removing the badge when it's read on the phone.

Do you have the ability to remove the unread badge from the desktop icon if the message is read on the phone?

chrisknepper commented 6 years ago

Hi @lexluthor5 , this sounds like Google may be sending an event to the web client to signal that the notification was read on the phone. I'll have to investigate this. The key is being able to determine how the event is received and how to decipher what code it runs because Google obfuscates their JavaScript. It may be possible!

lexluthor5 commented 6 years ago

Hopefully you can figure this one out. It can be a bit annoying compared to using the chrome shortcut.

gbrown2036 commented 5 years ago

Is there supposed an unread badge for the Windows taskbar icon itself that shows "1", "2", etc.? I'm getting the notification popup when I get a new message but if I don't see that then I can't tell by looking at the taskbar icon that I have unread messages. Thanks