Skip to content

Commit

Permalink
fix: app not building without google-services.json
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyESP committed Nov 28, 2024
1 parent 33c8bb8 commit e4f46f8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,16 @@ android {
productFlavors {
create("playstore") {
dimension = "version"
apply(plugin = libs.plugins.google.gms.get().pluginId)
apply(plugin = libs.plugins.firebase.crashlytics.get().pluginId)
configure<CrashlyticsExtension> {
mappingFileUploadEnabled = true
nativeSymbolUploadEnabled = true

if(isGoogleMobileServicesBuild) {
apply(plugin = libs.plugins.google.gms.get().pluginId)
apply(plugin = libs.plugins.firebase.crashlytics.get().pluginId)
configure<CrashlyticsExtension> {
mappingFileUploadEnabled = true
nativeSymbolUploadEnabled = true
}
}

}

create("foss") {
Expand Down

0 comments on commit e4f46f8

Please sign in to comment.