mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 21:06:44 -06:00
[App] Disable TLSv1.3 requirement for SSLProvider.
This commit is contained in:
parent
ae6af77aef
commit
4045da7fc5
@ -190,12 +190,18 @@ class App : MultiDexApplication(), Configuration.Provider, CoroutineScope {
|
|||||||
withContext(Dispatchers.Default) {
|
withContext(Dispatchers.Default) {
|
||||||
config.migrate(this@App)
|
config.migrate(this@App)
|
||||||
|
|
||||||
SSLProvider.install(applicationContext, downloadIfNeeded = true, supportTls13 = true, onFinish = {
|
SSLProvider.install(
|
||||||
|
applicationContext,
|
||||||
|
downloadIfNeeded = true,
|
||||||
|
supportTls13 = false,
|
||||||
|
onFinish = {
|
||||||
buildHttp()
|
buildHttp()
|
||||||
}, onError = {
|
},
|
||||||
|
onError = {
|
||||||
Timber.e("Failed to install SSLProvider: $it")
|
Timber.e("Failed to install SSLProvider: $it")
|
||||||
it.printStackTrace()
|
it.printStackTrace()
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|
||||||
if (config.devModePassword != null)
|
if (config.devModePassword != null)
|
||||||
checkDevModePassword()
|
checkDevModePassword()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user