-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datafile download fails on API 16 #366
Comments
@nathan-l Thanks for sharing. We'll take a look at it. |
@nathan-l , if you are using google play there is an easy solution using provider installer [here].(https://guides.codepath.com/android/Using-OkHttp#enabling-tls-v1-2-on-older-devices) |
Thanks @jaeopt. @thomaszurkan-optimizely, unfortunately a signifant part of our clients are not running google play so we can' t rely on the gms provider to solve this. We are using a custom SSLSocketFactory that we set in our OkHttp instance to support TLS1.2 on our API; but this solution isn't applicable to the SDK http client. |
@nathan-l SDK 3.10.2 has been released with the TSL support for API-16+ |
Hi.
When downloading a file with the default DataFileClient,
urlConnection.connect();
fails with an ssl error, here is the full stacktrace.I think this is happening because android <20 don't support TLS1.2+ by default.
The text was updated successfully, but these errors were encountered: