Push Notifications

Stellaa year ago

I'm unable to get push notifications to work on my Android device. I tried clearing the notification-token attribute and letting the server regenerating it already. I'm using the official Traccar Manager app from Google Play and included the following in my config file:

<entry key='notificator.types'>traccar,web</entry>
<entry key='notificator.traccar.key'>[redacted]</entry>

I also tried putting [redacted] in single quotes but that did not work either. The web notification type works as expected.

Anton Tananaeva year ago

The app should generate it, not the server. That happens on login. Have you re-logged in?

Stellaa year ago

Yes, I have. The token regenerates but the notification still does not send when using the Test Channels button.

Anton Tananaeva year ago

Do you get any errors?

Stellaa year ago

Nothing appears in the logs when I click Test Channels

Anton Tananaeva year ago

And no error in the UI? Then it means that the notification was successfully sent.

Stellaa year ago

No errors appear in the UI either, but I still am not receiving notifications on my phone, even with the app open.

Stellaa year ago

Found out it was unrelated to Traccar Manager, sorry for the trouble! (https://github.com/tailscale/tailscale/issues/14095)