[App] Disable TLSv1.3 requirement for SSLProvider.

This commit is contained in:
Kuba Szczodrzyński 2021-03-25 13:19:52 +01:00
parent ae6af77aef
commit 4045da7fc5

View File

@ -190,12 +190,18 @@ class App : MultiDexApplication(), Configuration.Provider, CoroutineScope {
withContext(Dispatchers.Default) {
config.migrate(this@App)
SSLProvider.install(applicationContext, downloadIfNeeded = true, supportTls13 = true, onFinish = {
buildHttp()
}, onError = {
Timber.e("Failed to install SSLProvider: $it")
it.printStackTrace()
})
SSLProvider.install(
applicationContext,
downloadIfNeeded = true,
supportTls13 = false,
onFinish = {
buildHttp()
},
onError = {
Timber.e("Failed to install SSLProvider: $it")
it.printStackTrace()
}
)
if (config.devModePassword != null)
checkDevModePassword()