```actual class Test actual constructor() { ac...
# ktor
h
Copy code
actual 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 ?
h
thx sir ^^
follow my understanding, the android only support
network-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 ?
a
So, 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.
For iOS Ktor has dedicated functionality for certificate pinning. Please see the description in KDoc.