Using the latest SDK and studio, using Set TLS version on android functions as expected when built directly to the device, however once published to the store, the setting is ignored and android default behaviour kicks in.
On android versions 5 and above TLS 1.2 is used correctly both locally and published.
On android versions below 5 (4.4.4 and 4.1.0 confirmed) TLS 1.1 or TLS 1.2 is used correctly locally but connections are refused once published (SSL handshake fails)
We have TLS 1.0 disabled on our production environment for security reasons and as a consequence of the setting not taking affect, all android devices cannot connect to the server.
Create a service endpoint with TLS 1.1 and TLS 1.2 only enabled.
Create HTTP client initialising TLS version
Set target and min SDKS
Add connection to server endpoint.
Compile using Latest SDK and deploy to android 4.1 or 4.4.4 device (simulator also behaves correctly)
Run application and hit endpoint.-> works
Publish application to play store as beta or live
Run application and hit endpoint -> call fails