Skip to content

Commit 0e41cda

Browse files
committed
chore(ios): disable K2 for nativeCoroutines
1 parent 34c4ce3 commit 0e41cda

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

common/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ sqldelight {
3333
linkSqlite.set(true)
3434
}
3535

36+
nativeCoroutines { k2Mode = false }
37+
3638
kotlin {
3739
compilerOptions {
3840
freeCompilerArgs.add("-Xexpect-actual-classes")

common/src/iosMain/kotlin/com/blockstream/common/di/Koin.ios.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ fun startKoin(doOnStartup: () -> Unit = {}) {
108108
// } binds (arrayOf(DeviceConnectionManager::class, DeviceConnectionInterface::class))
109109
single<FcmCommon> {
110110
object : FcmCommon(get()) {
111-
override fun showDebugNotification(notification: NotificationData) {
112-
113-
}
114-
115111
override fun showBuyTransactionNotification(notificationData: NotificationData) {
116112
//no-op
117113
}
@@ -134,6 +130,10 @@ fun startKoin(doOnStartup: () -> Unit = {}) {
134130

135131
}
136132

133+
override fun showDebugNotification(title: String, message: String) {
134+
135+
}
136+
137137
}
138138
}
139139
})

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ usb-serial = "0f16336a4e"
6363
uuid = "0.8.4"
6464
desugar = "2.1.5"
6565
zxing-android-embedded = "4.3.0"
66-
kmp-nativecoroutines = "1.0.0-ALPHA-43"
66+
kmp-nativecoroutines = "1.0.0-ALPHA-44"
6767
compose-tooling-preview = "1.8.2"
6868
navigation = "2.9.0-beta02"
6969
jetbrains-compose = "1.8.1"

0 commit comments

Comments
 (0)