Igor
12/23/2025, 8:56 AMHttpClient(Darwin) {
engine {
handleChallenge { session, task, challenge, completionHandler ->
if (protectionSpace.authenticationMethod == NSURLAuthenticationMethodClientCertificate) {
if (identity != null) {
completionHandler(
NSURLSessionAuthChallengeUseCredential.toInt(),
credential
)
} else {
completionHandler(
NSURLSessionAuthChallengePerformDefaultHandling.toInt(),
null
)
}
} else {
completionHandler(
NSURLSessionAuthChallengePerformDefaultHandling.toInt(),
null
)
}
}
}
}François
12/23/2025, 9:28 AMFrançois
12/23/2025, 9:28 AMIgor
12/23/2025, 9:51 AMChrimaeon
12/23/2025, 9:59 AMIgor
12/23/2025, 9:59 AMChrimaeon
12/23/2025, 10:00 AMAndroid Studio can't build the apk. Build is crashedSo how is that related to your question then?
Igor
12/23/2025, 10:03 AMmetadata.klib file because can't understand the type of the variablesChrimaeon
12/23/2025, 10:04 AMIgor
12/23/2025, 10:11 AM