Skip to content

Commit

Permalink
Merge pull request #60 from Liftric/fix/default-to-legacy-darwin-engine
Browse files Browse the repository at this point in the history
Refactor: Use Legacy Darwin Engine
  • Loading branch information
benjohnde authored Nov 3, 2022
2 parents 7c4b7b7 + 62d3164 commit d3fcccb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ dependencyResolutionManagement {
create("libs") {
version("android-tools-gradle", "7.2.0")
version("kotlin", "1.7.10")
version("ktor", "2.1.1")
version("ktor", "2.1.3")

library("ktor-client-core", "io.ktor", "ktor-client-core").versionRef("ktor")
library("ktor-client-android", "io.ktor", "ktor-client-android").versionRef("ktor")
library("ktor-client-darwin", "io.ktor", "ktor-client-darwin").versionRef("ktor")
library("ktor-client-darwin", "io.ktor", "ktor-client-darwin-legacy").versionRef("ktor")
library("ktor-client-jvm", "io.ktor", "ktor-client-java").versionRef("ktor")
library("ktor-client-js", "io.ktor", "ktor-client-js").versionRef("ktor")
library("kotlinx-coroutines", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").version("1.6.1")
Expand Down
4 changes: 2 additions & 2 deletions src/iosMain/kotlin/com/liftric/cognito/idp/core/Engine.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.liftric.cognito.idp.core

import io.ktor.client.engine.HttpClientEngine
import io.ktor.client.engine.darwin.Darwin
import io.ktor.client.engine.darwin.DarwinLegacy

internal actual val Engine: HttpClientEngine = Darwin.create()
internal actual val Engine: HttpClientEngine = DarwinLegacy.create()

0 comments on commit d3fcccb

Please sign in to comment.