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
6 changes: 6 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
alias(libs.plugins.ksp)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.google.services)
alias(libs.plugins.firebase.crashlytics)
}

val properties = Properties().apply {
Expand Down Expand Up @@ -45,7 +46,11 @@ android {
}

buildTypes {
debug {
manifestPlaceholders["crashlyticsCollectionEnabled"] = false
}
release {
manifestPlaceholders["crashlyticsCollectionEnabled"] = true
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
Expand Down Expand Up @@ -111,4 +116,5 @@ dependencies {
implementation(platform(libs.firebase.bom))
implementation(libs.firebase.analytics)
implementation(libs.firebase.messaging)
implementation(libs.firebase.crashlytics)
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
5 changes: 4 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@
android:value="false" />
<meta-data
android:name="firebase_analytics_collection_enabled"
android:value="false" />
android:value="true" />
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="${crashlyticsCollectionEnabled}" />

</application>

Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ plugins {
alias(libs.plugins.ksp) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.firebase.crashlytics) apply false
}
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ kakaoMap = "2.15.1"
# Firebase
googleServices = "4.5.0"
firebaseBom = "34.19.0"
firebaseCrashlytics = "3.0.7"

# Test
junit = "4.13.2"
Expand Down Expand Up @@ -104,6 +105,7 @@ kakao-map = { group = "com.kakao.maps.open", name = "android", version.ref = "ka
firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom" }
firebase-analytics = { group = "com.google.firebase", name = "firebase-analytics" }
firebase-messaging = { group = "com.google.firebase", name = "firebase-messaging" }
firebase-crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics" }

# Test
junit = { group = "junit", name = "junit", version.ref = "junit" }
Expand All @@ -119,6 +121,7 @@ hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
google-services = { id = "com.google.gms.google-services", version.ref = "googleServices" }
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebaseCrashlytics" }

[bundles]
androidx-core = [
Expand Down
Loading