Cancel TLSv1.3 support pre Android10
This commit is contained in:
parent
4d6e36dc6b
commit
c877497756
|
@ -113,7 +113,8 @@ dependencies {
|
||||||
implementation("io.coil-kt:coil-svg:$coil")
|
implementation("io.coil-kt:coil-svg:$coil")
|
||||||
implementation("io.coil-kt:coil-gif:$coil")
|
implementation("io.coil-kt:coil-gif:$coil")
|
||||||
|
|
||||||
implementation 'org.conscrypt:conscrypt-android:2.5.2'
|
// Cancel TLSv1.3 support pre Android10
|
||||||
|
// implementation 'org.conscrypt:conscrypt-android:2.5.2'
|
||||||
|
|
||||||
// https://square.github.io/okhttp/changelogs/changelog/
|
// https://square.github.io/okhttp/changelogs/changelog/
|
||||||
implementation "com.squareup.okhttp3:okhttp:$okhttp"
|
implementation "com.squareup.okhttp3:okhttp:$okhttp"
|
||||||
|
|
|
@ -18,8 +18,6 @@ import me.ash.reader.data.source.RYDatabase
|
||||||
import me.ash.reader.data.source.RYNetworkDataSource
|
import me.ash.reader.data.source.RYNetworkDataSource
|
||||||
import me.ash.reader.ui.ext.*
|
import me.ash.reader.ui.ext.*
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import org.conscrypt.Conscrypt
|
|
||||||
import java.security.Security
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,7 +32,8 @@ class RYApp : Application(), Configuration.Provider {
|
||||||
* Install Conscrypt to handle TLSv1.3 pre Android10.
|
* Install Conscrypt to handle TLSv1.3 pre Android10.
|
||||||
*/
|
*/
|
||||||
init {
|
init {
|
||||||
Security.insertProviderAt(Conscrypt.newProvider(), 1)
|
// Cancel TLSv1.3 support pre Android10
|
||||||
|
// Security.insertProviderAt(Conscrypt.newProvider(), 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
|
|
Loading…
Reference in New Issue
Block a user