Skip to content

Commit

Permalink
Add Firebase Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
happycastle114 committed Feb 24, 2025
1 parent 468f748 commit 2cab298
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ plugins {
id("com.android.application")
id("kotlin-android")
id("dev.flutter.flutter-gradle-plugin")
id("com.google.gms.google-services")
}

android {
Expand Down Expand Up @@ -93,6 +94,7 @@ dependencies {
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("androidx.constraintlayout:constraintlayout:2.2.0")
implementation("com.google.firebase:firebase-analytics")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
Expand Down
9 changes: 9 additions & 0 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ buildscript {
set("compileSdkVersion", 34)
set("targetSdkVersion", 34)
}

repositories {
google()
mavenCentral()
}

dependencies {
classpath("com.google.gms:google-services:4.4.2")
}
}

rootProject.layout.buildDirectory.set(file("../build"))
Expand Down

0 comments on commit 2cab298

Please sign in to comment.