Send Push Notification dont work

VGE3 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?

VGE3 years ago

Sorry nevermind its working.

Antonio Juniora year 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 Tananaeva year ago

Device tokens are set by the mobile app.

Antonio Juniora year 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 Tananaeva year ago

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

Antonio Juniora year ago

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