Skip to content

Commit

Permalink
Update the production build argument for Android Studio debug builds
Browse files Browse the repository at this point in the history
Swappy is required for `production` build which breaks the Android Studio debug builds as those turns on the `production` argument.
This commit updates the logic so that the `production` argument is only used by Android Studio for `release` builds.
  • Loading branch information
m4gr3d committed Oct 31, 2024
1 parent 7187c25 commit d699d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/android/java/lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ android {
boolean devBuild = buildType == "dev"
boolean debugSymbols = devBuild
boolean runTests = devBuild
boolean productionBuild = !devBuild
boolean storeRelease = buildType == "release"
boolean productionBuild = storeRelease

def sconsTarget = flavorName
if (sconsTarget == "template") {
Expand Down

0 comments on commit d699d4b

Please sign in to comment.