sgtaziz / WebMessage

A client for communicating with the WebMessage tweak on iOS. Send and receive messages from the comfort of your computer
72 stars 12 forks source link

Notifications don't work in Windows after "Close to Tray" #189

Open ersan opened 1 year ago

ersan commented 1 year ago

Installed WebMessage 0.7.0 and I don't get any notifications at all on Windows 11 - everything is working and it shows new messages in the app itself, but no notifications and no WebMessage entry on the "System -> Notifications" settings menu. All other programs seem to be receiving notifications just fine, including my old "Remote Messages" windows client that I'm trying to replace.

Not sure what to do here. Is there a log file?

ersan commented 1 year ago

It didn't work on Windows 10 over BootCamp either - I downgraded to 0.6.2 and notifications work fine on that version, but unfortunately this app has forced updates. I'm going to look into blocking updates now, then I'll take a look at node-powertoast to see if there's some upstream issue.

EDIT: node-powertoast seems to work fine, but WebMessage does not - and it looks up the current version at github.com so I can't really block updates via DNS, would have to compile my own version with updates disabled. Not sure I want to get into that.

ersan commented 1 year ago

After a bunch of testing it seems that when "Close to Tray" is enabled, after closing WebMessage to the tray it will no longer display notifications.

Restoring it from the tray does not fix the problem, you have to quit the program entirely and open it again for notifications to resume working. Basically after you close it to the tray one time, notifications stop working completely until you quit and reopen the program.

This goes for Windows 10 and 11 - haven't tested any other OSes or versions.

If you disable "Close to Tray" it will display notifications while minimized just fine.

ersan commented 1 year ago

FYI if anyone wants to disable updates you can go into %LOCALAPPDATA%\webmessage-updater and remove all permissions from the "pending" folder. This was my solution since the developer has been MIA for over a year now and building this project for production to try and fix it has been a pain.

jiznon commented 1 year ago

Thanks for posting all your troubleshooting. I've been so annoyed at the notifications seemingly randomly stopping. This was very helpful!

TempAccountNull commented 1 year ago

FYI if anyone wants to disable updates you can go into %LOCALAPPDATA%\webmessage-updater and remove all permissions from the "pending" folder. This was my solution since the developer has been MIA for over a year now and building this project for production to try and fix it has been a pain.

He hasn't been MIA. @sgtaziz hasn't been able to add support for newer versions as he doesn't have a jailbroken iPhone anymore. His old one died.