Hello guys!
Setting up a Windows server took me 3 minutes. Created account, connected, added my device. It's tracking, all good...
Went to https://www.traccar.org/notifications/#push, to get push notifications done for Traccar Manager, but from there, everything got stuck.
Of course, I took these 2 lines:
<entry key='notificator.types'>traccar,web</entry>
<entry key='notificator.traccar.key'>(my push notification api from https://www.traccar.org/my-account/)</entry>
Pasted them into traccar.xml
Restarted the server service, relogged to Traccar Manager app on Android. Went to add a notification, selected Push Notification, clicked on test, and only receive a "test" text at the bottom, while the app is open.
Came to forum here, checked every topic with keyword "push" in there, saw some comments recommending removing a notification token from Attributes, which I did. Then logged off, came in, token reappeared.
Result on every move was the same - no push notification - only a text in white field at the bottom.
Checked logs file. There was no indication at all, that anything was trying to be sent. Only teltonika related stuff.
I am using latest versions of everything, Notifications aren't disabled for Traccar Manager.
Seriously, what am I doing wrong?
Thanks in advance!
only receive a "test" text at the bottom, while the app is open
This is absolutely expected behavior when the app is open.
Oh my....
And it works, when app is closed. Lost 2 hours of my life, trying to understand what am I doing wrong.
Now, only thing thats left to figure out, is why ignition on and off are the only events i can get to work on my yesterday bought Teltonika FTC164.
Thanks, Anton
Hello guys!
Setting up a Windows server took me 3 minutes. Created account, connected, added my device. It's tracking, all good...
Went to https://www.traccar.org/notifications/#push, to get push notifications done for Traccar Manager, but from there, everything got stuck.
Of course, I took these 2 lines:
<entry key='notificator.types'>traccar,web</entry> <entry key='notificator.traccar.key'>(my push notification api from https://www.traccar.org/my-account/)</entry>Pasted them into traccar.xml
Restarted the server service, relogged to Traccar Manager app on Android. Went to add a notification, selected Push Notification, clicked on test, and only receive a "test" text at the bottom, while the app is open.
Came to forum here, checked every topic with keyword "push" in there, saw some comments recommending removing a notification token from Attributes, which I did. Then logged off, came in, token reappeared.
Result on every move was the same - no push notification - only a text in white field at the bottom.
Checked logs file. There was no indication at all, that anything was trying to be sent. Only teltonika related stuff.
I am using latest versions of everything, Notifications aren't disabled for Traccar Manager.
Seriously, what am I doing wrong?
Thanks in advance!