GoTrue KMM installation for ios-android #283
-
Hi,
What do I miss? val commonMain by getting {
dependencies {
api("dev.icerock.moko:resources:0.23.0")
implementation("io.github.jan-tennert.supabase:gotrue-kt:1.2.0")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val iosArm64Main by getting
val iosSimulatorArm64Main by getting
val iosX64Main by getting
val iosMain by getting {
dependencies {
implementation("io.ktor:ktor-client-darwin:2.2.0")
}
iosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
iosX64Main.dependsOn(this)
}
val androidMain by getting {
dependencies {
implementation("io.ktor:ktor-client-okhttp:2.2.0")
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
All examples are based on desktop-android. GoTrue has NonLinuxMain distribution but for kmm apps this is not suitable, I think. Is this repo not fully support kmm apps yet? |
Beta Was this translation helpful? Give feedback.
@jan-tennert GoTrue version 1.1.1 work w/o problem. I will compare it with other releases, maybe I can catch the problem.
p.s: GoTrue 1.3.0 causing incompatible sdk version error on androidApp. Some browser dependency require sdk version 34. Still so many project's max sdk support is at 33.