Send Push Notification dont work

VGE 5 years ago

Hi guys, so im running traccar and traccar manager app on my iphone. I added the lines to the traccar.xml and restarted my service/instance. The mobile token shows up under my user and I added the API token to the xml line but i get the following message:

HTTP 415 Unsupported Media Type - NotSupportedException (...)

Any idea what im doing wrong?

VGE 5 years ago

Sorry nevermind its working.

Antonio Junior 3 years ago

Greetings everyone. could someone help me with a question? Who creates the firebase notification token is the Traccar server from what I understand in this post, what would be the logic since the android app uses WebView? Thanks in advance and apologies if the question seems immature. @techguru.

Anton Tananaev 3 years ago

Device tokens are set by the mobile app.

Antonio Junior 3 years ago

Thanks @Anton Tananaev, no offense, how is this handled if I log in on different devices with the same account since the token is generated by the App?

Anton Tananaev 3 years ago

We support multiple tokens, so you can have multiple devices.

Antonio Junior 3 years ago

Excellent @Anton Tananaev. Thank you very much for the information, great weekend.