Browse Source

Update the `production` build argument for Android Studio debug builds

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.
Fredia Huya-Kouadio 9 months ago
parent
commit
d699d4b7d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/android/java/lib/build.gradle

+ 1 - 1
platform/android/java/lib/build.gradle

@@ -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") {