0

I’m integrating the certificate pinning to the ktor kmm Does ktor use network_security_config file in android or we have to setup with below code programmatically?

actual class Test actual constructor() {
    actual val httpClientEngine: HttpClientEngineFactory<HttpClientEngineConfig>
        get() = OkHttp
}
Hien Nguyen
  • 744
  • 2
  • 7
  • 20

1 Answers1

2

All Ktor engines for Android (CIO, OkHttp, Android) use network security configuration.

Aleksei Tirman
  • 4,658
  • 1
  • 5
  • 24