diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index 08eadcc80..c6dc55af4 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -4,7 +4,6 @@ plugins { alias(libs.plugins.com.google.dagger.hilt.android) alias(libs.plugins.com.google.devtools.ksp) alias(libs.plugins.androidx.baselineprofile) - alias(libs.plugins.com.google.gms.google.services) } android { @@ -87,7 +86,4 @@ dependencies { implementation(libs.androidx.hilt.hilt.work) debugImplementation(libs.com.squareup.leakcanary.leakcanary.android) - - implementation(platform("com.google.firebase:firebase-bom:32.3.1")) - implementation("com.google.firebase:firebase-analytics-ktx") } \ No newline at end of file diff --git a/androidApp/src/main/java/com/m3u/androidApp/MainActivity.kt b/androidApp/src/main/java/com/m3u/androidApp/MainActivity.kt index 36af62443..5aacd8d71 100644 --- a/androidApp/src/main/java/com/m3u/androidApp/MainActivity.kt +++ b/androidApp/src/main/java/com/m3u/androidApp/MainActivity.kt @@ -18,9 +18,6 @@ import androidx.core.view.WindowInsetsCompat import androidx.core.view.WindowInsetsCompat.Type.InsetsType import androidx.core.view.WindowInsetsControllerCompat import androidx.core.view.WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE -import com.google.firebase.analytics.FirebaseAnalytics -import com.google.firebase.analytics.ktx.analytics -import com.google.firebase.ktx.Firebase import com.m3u.androidApp.ui.App import com.m3u.androidApp.ui.AppViewModel import com.m3u.core.unspecified.UBoolean @@ -37,7 +34,6 @@ import kotlin.reflect.KMutableProperty0 @AndroidEntryPoint class MainActivity : ComponentActivity() { - private lateinit var analytics: FirebaseAnalytics private val controller by lazy { WindowInsetsControllerCompat(window, window.decorView).apply { systemBarsBehavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE @@ -55,7 +51,6 @@ class MainActivity : ComponentActivity() { } override fun onCreate(savedInstanceState: Bundle?) { - analytics = Firebase.analytics installSplashScreen() enableEdgeToEdge() super.onCreate(savedInstanceState) diff --git a/build.gradle.kts b/build.gradle.kts index 3ec83f367..fbe148057 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,5 +11,4 @@ plugins { alias(libs.plugins.com.google.dagger.hilt.android) apply false alias(libs.plugins.com.google.devtools.ksp) apply false alias(libs.plugins.com.android.test) apply false - alias(libs.plugins.com.google.gms.google.services) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5fea9f7ad..c13293c42 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,7 +17,6 @@ androidx-room = "2.5.2" google-accompanist = "0.33.1-alpha" google-dagger = "2.48" -google-services = "4.4.0" io-coil = "2.4.0" kotlinx-serialization-json = "1.6.0" @@ -126,7 +125,6 @@ com-google-dagger-hilt-android = { id = "com.google.dagger.hilt.android", versio com-google-devtools-ksp = { id = "com.google.devtools.ksp", version.ref = "ksp-plugin" } com-android-test = { id = "com.android.test", version.ref = "android-gradle-plugin" } androidx-baselineprofile = { id = "androidx.baselineprofile", version.ref = "androidx-baselineprofile-benchmark" } -com-google-gms-google-services = { id = "com.google.gms.google-services", version.ref = "google-services" } [bundles] androidx-compose = ["androidx-compose-ui-ui", "androidx-compose-ui-ui-util", "androidx-compose-runtime-runtime", "androidx-compose-foundation-foundation", "androidx-compose-animation-animation", "androidx-compose-material-material"] \ No newline at end of file