Lukáš Kúšik
10/17/2022, 10:49 AMhfhbd
10/17/2022, 12:34 PMLukáš Kúšik
10/17/2022, 12:36 PMhfhbd
10/17/2022, 12:37 PMLukáš Kúšik
10/17/2022, 12:39 PMhfhbd
10/17/2022, 1:26 PMexport("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
in your framework in your gradle config.
For example:
val xcf = XCFramework()
iosArm64 {
binaries {
framework {
baseName = "shared"
export("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
xcf.add(this)
}
}
}
But I would add some Kotlin helper methods that take some (suspend) lambda: () -> T and use it in a flow builder.humblehacker
10/27/2022, 2:30 AMLukáš Kúšik
10/27/2022, 6:51 AM