Skip to content

Commit

Permalink
Make gmpAppId variant aware
Browse files Browse the repository at this point in the history
  • Loading branch information
mrober committed May 14, 2024
1 parent e19f7a8 commit 54d27ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class GoogleServicesPlugin : Plugin<Project> {
variant.productFlavors.map { it.second },
project.projectDir))
it.applicationId.set(variant.applicationId)
it.gmpAppId.set(project.buildDir.resolve("gmpAppId.txt"))
it.gmpAppId.set(project.buildDir.resolve("crashlytics/${variant.name}/gmpAppId.txt"))
}

// TODO: add an AGP version check to this block
Expand Down

0 comments on commit 54d27ac

Please sign in to comment.