Push notification suddenly stopped working. Traccar Windows server - traccar manager IOS

Sirhaugen842 years ago

Push notification suddenly stopped working.
Traccar Windows server (newest) - traccar manager IOS (newest.)

While trying to find out i know I should remove everything from web gui (settings regarding alerts)

Could anyone please tell me step by step on howto set it up from the beginning?
I have the API key stored in the traccar.xml file.

    <entry key='notificator.types'>web,mail,traccar</entry>
    <entry key='notificator.traccar.key'>eyJkYXRhIjozMTExMH0uWENsd0FKS..............................................................</entry>

</properties>

When I try to send a test from web gui my traccar app says: "undefined, "undefined

Anton Tananaev2 years ago

Have you checked logs for warnings or errors?

Sirhaugen842 years ago

Yes sir : no error that I can see

Anton Tananaev2 years ago

Check if you have a device token in your user attributes. Make sure it's the latest one.

Also, what version of Traccar are you using? And which of the web apps?

Sirhaugen842 years ago

Anton:
Server is the newest so is the Traccar Manager from appstore.

What do you mean check that token is the latest one?
When I click the user settings and attributes I have added notificationToken. After restarting Traccar Manager I can see that this field is filled with random letters and numbers

Anton Tananaev2 years ago

You've added it? Why?

Sirhaugen842 years ago

I have only added notificationToken but left the value blank. After restart a random string is auto filled.

Is this wrong?

Thats why I asked for a step by step tutorial though ☺️

Anton Tananaev2 years ago

You shouldn't need to add it manually, even with a blank value. Auto-filled value is a good sign. It means you have the token, so it should work.

Sirhaugen842 years ago

But when I try to send test my Traccar Manager on my phone only display «undefined, undefined» at the bottom

Anton Tananaev2 years ago

Screenshot?

Sirhaugen842 years ago
Anton Tananaev2 years ago

That's completely unrelated to push notifications. That's web notification. What version of backend/frontend are you using?

Sirhaugen842 years ago

The log now says.

WARN: No smtp config found.

I have only selected «Traccar» in notifications, snd not web and mail so that is strange

Anton Tananaev2 years ago

Could be related to this:

https://www.traccar.org/forums/topic/traccar-51-preview/page/3/#post-72568

That's why I asked to provide versions info.

Sirhaugen842 years ago

So which version do you recommend then?
Is the problem within the app or server?