Hey everyone, I have a question on ktor-server for...
# multiplatform
a
Hey everyone, I have a question on ktor-server for KMP. I have built a KMP app that I use for testing of Native iOS, Android and Web SDKs. To mock the network I run the ktor server with CIO engines in both Android and iOS apps. The challenge that I am facing that I can’t combine Web SDKs hosted online with SSL and the local ktor server in iOS app due to strict CORS rules in Safari - mixed content is not allowed. The solution I see is to enable SSL in ktor server. But the sslConnector method is available only in jvm. https://api.ktor.io/older/2.3.1/ktor-server/ktor-server-host-common/io.ktor.server.engine/ssl-connector.html Does anyone know how to enable ssl in ktor server running in iOS and Android?