Extends Supabase-kt with a multiplatform GoTrue client.
Supported targets:
Target | JVM | Android | JS | iOS | tvOS | watchOS | macOS | Windows | Linux |
---|---|---|---|---|---|---|---|---|---|
✅ | ✅ | ✅ | ✅ | ☑️ | ☑️ | ✅ | ☑️ | ☑️ |
Native support is experimental and needs feedback
☑️ = No built-in OAuth support. Linux has no support for persistent session storage.
In-depth Kotlin targets
iOS: iosArm64, iosSimulatorArm64, iosX64
JS: Browser, NodeJS
tvOS: tvosArm64, tvosX64, tvosSimulatorArm64
watchOS: watchosArm64, watchosX64, watchosSimulatorArm64
MacOS: macosX64, macosArm64
Windows: mingwX64
Linux: linuxX64
dependencies {
implementation("io.github.jan-tennert.supabase:gotrue-kt:VERSION")
}
Install the plugin in your SupabaseClient. See the documentation for more information
val supabase = createSupabaseClient(
supabaseUrl = "https://id.supabase.co",
supabaseKey = "apikey"
) {
//...
install(Auth) {
// settings
}
}
See GoTrue documentation for usage