I don't think it's possible. Also, I don't think it makes sense from security point of view. You should have HTTPS by default.
I want https to be the only option but will be relying on users entering the server address in the client so am trying to catch as many potential issues as possible. Since the client comes with http:// as the default I'm expected some users to not notice the difference, and the https redirect seemed the easiest way to stop this breaking anything whilst avoiding as much unencrypted traffic as possible.
I guess I'll just have to make sure that's in the troubleshooting section of the setup guide instead.
I guess it make some sense, but ideally you want to have a custom app with pre-configured server address.
True - but asking users to download a stand-alone APK (nevermind how to do it for iPhone), is bound to raise a few eyebrows. I think the QR code idea (https://github.com/traccar/traccar-client-android/issues/355) is probably a better solution so I'll keep waiting until then.
Thank you for your help.
Is there any specific setup to ensure the traccar android client follows http redirects (e.g. http->https or 301/302 domain redirect).
I've got a server setup with an https redirect, which works well for firefox/chrome to access the web UI, but the client needs to have the address prefixed with https:// for the updates to be successful. If I leave the URL as http:// the client logs report "Location update" but this is not seen in the server, so I'm guessing that it isn't following the redirect properly.