Suggestion: Optional Authentication Support for Traccar Client SDK

SwayDev 14 hours ago

Not sure if this is already supported. Reviewed the documentation but couldn't find it, hence this post.

It would be great if the SDK supported optional, configurable authentication for requests in addition to the Device ID, using custom HTTP headers or the standard HTTP Authorization header.

Anton Tananaev 12 hours ago

You mean on the client side only or backend also?

SwayDev 11 hours ago

Client-side only. (For non Traccar related use-cases)

Replacing Transistorsoft's background location SDK with Traccar Client SDK in a project.

I believe Authorization/header configuration will be useful to many new users.

Anton Tananaev 7 hours ago

Added in version 1.1.4 of the SDK.

SwayDev 6 hours ago

Thank you! Tested it, and it works perfectly.