Skip to content

Commit

Permalink
build: remove firebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyroid committed Oct 13, 2023
1 parent 94d8dc7 commit fb4c021
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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")
}
5 changes: 0 additions & 5 deletions androidApp/src/main/java/com/m3u/androidApp/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -55,7 +51,6 @@ class MainActivity : ComponentActivity() {
}

override fun onCreate(savedInstanceState: Bundle?) {
analytics = Firebase.analytics
installSplashScreen()
enableEdgeToEdge()
super.onCreate(savedInstanceState)
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"]

0 comments on commit fb4c021

Please sign in to comment.