Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion application/composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ kotlin {
implementation(libs.activity.compose)
implementation(libs.androidx.material3)
implementation(libs.material)
implementation(project.dependencies.platform(libs.androidx.compose.bom))

implementation(project(":application:core:resources"))
implementation(project(":application:features:auth"))
Expand Down
2 changes: 0 additions & 2 deletions application/core/auth_core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ kotlin {

val androidMain by getting {
dependencies {
implementation(libs.firebase.auth)
implementation(project.dependencies.platform(libs.firebase.bom.get()))
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
package io.writeopia.auth.core.token

import android.util.Log
import com.google.firebase.auth.ktx.auth
import com.google.firebase.ktx.Firebase
import io.writeopia.sdk.network.oauth.BearerTokenHandler
import kotlinx.coroutines.tasks.await

actual object AppBearerTokenHandler : BearerTokenHandler {
actual override suspend fun getIdToken(): String? =
Firebase.auth.currentUser?.getIdToken(true)?.await()?.token?.also { token ->
Log.d("FirebaseTokenHandler", "token: $token")
}
actual override suspend fun getIdToken(): String? = null
}
23 changes: 7 additions & 16 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
[versions]
accompanist = "0.36.0"
coilVersion = "3.0.4"
composeBom = "2025.05.01"
composeShimmer = "1.0.5"
espressoCore = "3.7.0"
firebaseAdmin = "9.2.0"
firebaseAuthProvider = "1.5.0"
junit = "1.2.1"
junit = "1.3.0"
kotlinxCoroutines = "1.10.2"
kotlinxCoroutinesSwing = "1.10.2"
kotlinxDatetime = "0.6.0"
kotlinxSerializationJson = "1.9.0"
ktor = "3.3.3"
ktlint = "13.1.0"
ktx = "1.17.0"
material = "1.12.0"
materialIconsCore = "1.7.3"
platformtools = "0.4.0"
room = "2.7.2"
agp = "8.13.0"
platformtools = "0.7.4"
room = "2.8.4"
agp = "8.13.2"
kotlin = "2.2.21"
composeTest = "1.8.3"
composeTest = "1.10.0"
webWorkerDriver = "2.2.1"
mockk = "1.14.4"
mockk = "1.14.7"
sqldelight = "2.2.1"
ksp = "2.2.21-2.0.4"
compose-multiplatform = "1.9.3"
dag-command = "1.14.0"
dokka = "2.0.0"
firebase = "33.11.0"
dokka = "2.1.0"
google-services = "4.4.2"
logback-classic = "1.5.18"
hikaricp = "7.0.2"
Expand All @@ -41,9 +37,7 @@ targetSdk = "36"
minSdk = "26"

[libraries]
accompanist-systemuicontroller = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" }
activity-compose = { module = "androidx.activity:activity-compose" }
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
androidx-compose-test = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "composeTest" }
androidx-compose-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "composeTest" }
Expand All @@ -55,9 +49,7 @@ coil-ktor3 = { module = "io.coil-kt.coil3:coil-network-ktor3", version.ref = "co
coil-video = { module = "io.coil-kt.coil3:coil-video", version.ref = "coilVersion" }
compose-shimmer = { module = "com.valentinilk.shimmer:compose-shimmer", version.ref = "composeShimmer" }
firebase-admin = { module = "com.google.firebase:firebase-admin", version.ref = "firebaseAdmin" }
firebase-auth = { module = "com.google.firebase:firebase-auth" }
firebase-auth-provider = { module = "com.kborowy:firebase-auth-provider", version.ref = "firebaseAuthProvider" }
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
kotlin-coroutines-reactor = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-reactor", version.ref = "kotlinxCoroutines" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
Expand All @@ -68,7 +60,6 @@ ktor-server-swagger = { module = "io.ktor:ktor-server-swagger" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinxCoroutinesSwing" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinxDatetime" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
ktor-client-auth = { module = "io.ktor:ktor-client-auth", version.ref = "ktor" }
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
Expand Down