I don't think Traccar Manager supports a custom URL schema like this.
ok thats unfortunate, but thank you
Correct me if I’m wrong but the session token is being securely saved in keychain for IOS app. But accessing it later requires user authentication (Face ID, Touch ID, or passcode) every time the app reads it.
To configure persistent sessions in the Traccar server, you need to adjust server configuration to keep sessions active beyond the default (which ends when the app/browser is closed).
If you add this to your config file and restart, it may be a fix to what your asking, worked for me but keep in mind there are most likely security implications with this so have a think about it/research it.
<entry key='web.sessionTimeout'>2592000</entry>
Above currently 30 days in seconds or whatever you need it to be.
On a browser, I can use a link like
https://server.de/?token=x
, and the user is logged in automatically. However, on iOS, I am using a custom URL scheme likeserver://?token=x
(whereserver://
is the app's URL scheme) to open the native Traccar Manager app.The app opens successfully, but it only displays the login screen instead of logging the user in.
Is there a way to pass the token to the iOS app and have it log in the user automatically?
If this isn’t currently supported, are there any workarounds or best practices to achieve this?