Update 1.0.0#66
Conversation
|
it is required to implement the iOS code for Simple app |
| ```kotlin | ||
| dependencies { | ||
| commonMainApi("dev.icerock.moko:paging:0.7.1") | ||
| commonMainApi("dev.icerock.moko:remotestate:0.1.0") |
There was a problem hiding this comment.
it's should be another lib at all
|
|
||
| package dev.icerock.moko.paging | ||
|
|
||
| actual open class BaseTestsClass |
There was a problem hiding this comment.
the actual class is needed for the expect class BaseTestsClass() to run tests in commonMain.
There was a problem hiding this comment.
you need implement coroutinesTest for commonMain and remove this old case
There was a problem hiding this comment.
commonTestImplementation(libs.coroutinesTest)
| mobileMultiplatformGradlePlugin = { module = "dev.icerock:mobile-multiplatform", version = "0.14.1" } | ||
| kotlinSerializationGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlinVersion" } | ||
| mokoUnitsGeneratorGradlePlugin = { module = "dev.icerock.moko:units-generator", version.ref = "mokoUnitsVersion" } | ||
| androidGradlePlugin = { module = "com.android.tools.build:gradle", version = "8.6.1" } |
There was a problem hiding this comment.
All Compose dependencies (1.9.1) and lifecycle-runtime-compose (2.9.0) require AGP ≥ 8.6.0
Is this a big problem?
There was a problem hiding this comment.
Project doesn't need AGP 8.6, 8.1 more comfortable version, you need separate sample and library versions
| } | ||
|
|
||
| dependencies { | ||
| commonMainApi(projects.remotestate) |
There was a problem hiding this comment.
https://github.com/icerockdev/moko-state
MR for this repository
| - Gradle version 6.8+ | ||
| - Android API 16+ | ||
| - iOS version 11.0+ | ||
| - Gradle 8.10+ |
There was a problem hiding this comment.
library must support a wide range of versions (e.g., ensuring compatibility with AGP versions older than 8.6.1)
| import kotlinx.coroutines.CoroutineScope | ||
| import kotlinx.coroutines.test.runTest | ||
|
|
||
| actual fun <T> runTest(block: suspend CoroutineScope.() -> T): T { |
No description provided.