Client's notification token

Jose3 days ago

Hi,
Since a few updates I notice any devices has a notification token. How I can use this?.

What I want is requesting a position update, based in a notification sent to a client. But since Flutter version, in Android the broadcast has been remove, and even when I have another app intallee for handle the fcm notification, I can triger this in traccar client out of the box.

Is this token planed for that in a near future?. Any advice or information?.

Please any help.

Thanks in advance.
Kind Regards,
José

Anton Tananaev3 days ago

It is used for commands.

Jose3 days ago

Thanks for fast reply Anton. I supposed, but even when I save a command, then linked command to user, command don't appear in user send command tab.

Is already active?. This va be use for send to an android app a single report location ping?. A bug maybe?.

I have lates version for client and server.

Thanks for your support.
José

Anton Tananaev3 days ago

First of all, saving commands is obviously not going to help here. Not sure why people keep trying it. The only use of it is save parameters for reuse.

Secondly, in the current official release you need a firebase service account to send commands. Obviously if you're using your own server, you won't have access to our service account. You can either use demo servers where our keys are configured. Or you need your own app with your own firebase.

In the next release we're adding an option to use the same API key from our website for client commands. With that you will be able to use our official apps with your own server for commands.

Jose3 days ago

Thanks!