Hien Nguyen
02/21/2022, 4:22 AMactual class Test actual constructor() {
actual val httpClientEngine: HttpClientEngineFactory<HttpClientEngineConfig>
get() = OkHttp
}
I’m integrating the certificate pinning to the ktor kmm
Does ktor use network_security_config
file in android ?Aleksei Tirman [JB]
02/21/2022, 1:44 PMHien Nguyen
02/22/2022, 3:36 AMnetwork-security-config
file above android 7 ?
So, if we want to support certificate pinner on the lower devices, we have to write the code like this picture ?Aleksei Tirman [JB]
02/22/2022, 2:26 PMSo, if we want to support certificate pinner on the lower devices, we have to write the code like this picture ?Looks like this code should work.