How to enable TLSv1.3 for OkHttp 3.12.x on Android 8/9?
As shown in official link, TLSv1.3 is supported from Android 10(Api Level 29) on wards. So to support TLSv1.3 in previous versions we can integrate the conscrypt library. Conscrypt security provider includes a public API for TLS functionality. For that we have to add the dependency, dependencies { implementation ‘org.conscrypt:conscrypt-android:2.2.1’ } Here also we need … Read more