diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 7b753f1..e8714c8 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -71,7 +71,6 @@ kotlin { implementation(libs.gitlive.firebase.firestore) implementation(libs.gitlive.firebase.database) implementation(libs.gitlive.firebase.analytics) - implementation(libs.gitlive.firebase.messaging) implementation(libs.cupertino.adaptive) } diff --git a/composeApp/src/commonMain/kotlin/org/company/app/data/repository/YouTubeServiceImpl.kt b/composeApp/src/commonMain/kotlin/org/company/app/data/repository/YouTubeServiceImpl.kt index 7f65e99..d733116 100644 --- a/composeApp/src/commonMain/kotlin/org/company/app/data/repository/YouTubeServiceImpl.kt +++ b/composeApp/src/commonMain/kotlin/org/company/app/data/repository/YouTubeServiceImpl.kt @@ -2,7 +2,6 @@ package org.company.app.data.repository import dev.gitlive.firebase.Firebase import dev.gitlive.firebase.database.FirebaseDatabase -import dev.gitlive.firebase.messaging.messaging import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import org.company.app.data.remote.YoutubeClientApi @@ -47,16 +46,6 @@ class YouTubeServiceImpl( println("FetchUiData Error fetching UI data: ${e.message}") } } - suspend fun registerMessagingToken(): String{ - return Firebase.messaging.getToken() - } - - fun subscribeToTopic(topic: String) { - return Firebase.messaging.subscribeToTopic(topic) - } - fun unSubscribeToTopic(topic: String){ - return Firebase.messaging.unsubscribeFromTopic(topic) - } fun fetchLayoutInformation(): Flow = flow { fetchUiData().collect { uiData -> diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4d7d598..bfca101 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,8 +9,8 @@ compose = "1.6.11" kotlinxCoroutinesSwing = "1.8.1" libres = "1.2.2" androidx-appcompat = "1.7.0" -androidx-activityCompose = "1.9.2" -compose-uitooling = "1.7.3" +androidx-activityCompose = "1.9.3" +compose-uitooling = "1.7.4" lifecycleViewmodelCompose = "2.8.0" media3Ui = "1.4.1" media3ExoplayerDash = "1.4.1"