Push Notifications

Stella a 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 Tananaev a year ago

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

Stella a year ago

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

Anton Tananaev a year ago

Do you get any errors?

Stella a year ago

Nothing appears in the logs when I click Test Channels

Anton Tananaev a year ago

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

Stella a year ago

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

Stella a year ago

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