jariz / Noti

Receive Android notifications on your mac. (w/PushBullet) ⛺
MIT License
911 stars 63 forks source link

Noti exits every time I interact with a notification #88

Open fluiddruid opened 5 years ago

fluiddruid commented 5 years ago

Seen on MacOS Mojave.

I launch Noti and sign in, and then send a test notification from Pushbullet on my Android device.

The notification shows fine, but if I click on one of the action buttons on the notification on my Mac (e.g. to Dismiss the notification remotely), then Noti exits without having performed the action.

The same behaviour is seen with SMSs. Noti shows them and I can click to reply and type a message, but as soon as I click to send, Noti exits without having sent the message back to my phone.

Not sure where to look for diags, but this reproduces 100% of the time so I can collect some if you tell me what you need.

Thanks!

ABeltramo commented 5 years ago

Can you check the logs for errors or share it here? To get the logs:

fluiddruid commented 5 years ago

Hmm, no error from Noti:

30-08-2019 09:54:54 DEBUG initCrypt():74 - Encryption enabled! 30-08-2019 09:54:54 DEBUG init():41 - Init Noti 30-08-2019 09:54:54 DEBUG getUserInfo():98 - Getting user info... 30-08-2019 09:54:55 DEBUG connect():271 - Connecting to Pushbullet 30-08-2019 09:54:55 DEBUG websocketDidConnect():287 - PushManager is connected 30-08-2019 09:54:59 DEBUG websocketDidReceiveMessage():358 - PUSH -> dismiss 30-08-2019 09:55:00 DEBUG websocketDidReceiveMessage():353 - PUSH -> mirror

Maybe the system is terminating the app, and so Noti never gets chance to write a log?

fluiddruid commented 5 years ago

Aha, whilst I had the console app open, I noticed that the system was writing a crash report when Noti exits. Here it is:

Noti_2019-08-30-100700_Andrews-MacBook-Pro.crash.txt

fluiddruid commented 5 years ago

Some more info:

Interacting with a notification only causes a crash when "Start Noti on system startup" is enabled in the preferences.

If that option is not checked, Noti does not crash, but the interactions silently fail (i.e texts are not sent or notifications are not dismissed).

isgarlo commented 5 years ago

Same issue here with macOS Mojave 10.14.5 but in my case the app is crashing no matter if the "Start Noti on system startup" is checked.

The log is generated under User Reports from the Console app

Noti_2019-09-04-103643_MacBook-Pro.crash.txt

isgarlo commented 5 years ago

I've managed to reply WhatsApp notifications and to archive a mail from Gmail without issues. Maybe the crash affects only the Pushbullet test notification.

isgarlo commented 5 years ago

Also crashing with Telegram notifications

fluiddruid commented 5 years ago

I can't reply to SMSs, nor remote-dismiss any notifications from my Mac. The notifications stay on my Android device.

ABeltramo commented 5 years ago

Unfortunately I can't reproduce your issues. Can you please post:

fluiddruid commented 5 years ago

I'm running

Android 10 Pushbullet v18.2.22 Pushbullet Pro MacOS 10.14.6 Noti 0.3.2 Noti settings:

guyzyl commented 5 years ago

I'm experiencing the same issue on the following setup:

srujanb commented 4 years ago

Is there any update on this?

qqe-app commented 3 years ago

I faced this problem also,

  1. can simulate using Send a test notification in push bullet mobile app
  2. then click notification in mac
  3. app will close unexpectedly