android_sdk
android_sdk copied to clipboard
Problem with Android 4.4 (API 19) using TLS1.0 by default
Hi,
I'm having trouble setting up the Adjust SDK in an Android 4.4 device.
By default the device uses TLS1.0 so I get the following error:
Failed to track session. (Certificate failed: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x63685108: Failure in SSL library, usually a protocol error
I've tried forcing the usage of TLS1.2 by using a custom SSLSocketFactory but I get the error that the SDK is unsupported:
Response string: {"timestamp":"2022-07-27T15:25:23.527Z+0000","message":"Session failed (unsupported sdk)","error":"Session failed (unsupported sdk)"}
Is there any way to configure this so that it works for API 19?