File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ apply from: "../../node_modules/react-native/react.gradle"
90
90
* Upload all the APKs to the Play Store and people will download
91
91
* the correct one based on the CPU architecture of their device.
92
92
*/
93
- def enableSeparateBuildPerCPUArchitecture = false
93
+ def enableSeparateBuildPerCPUArchitecture = true
94
94
95
95
/**
96
96
* Run Proguard to shrink the Java bytecode in release builds.
97
97
*/
98
- def enableProguardInReleaseBuilds = false
98
+ def enableProguardInReleaseBuilds = true
99
99
100
100
/**
101
101
* The preferred build flavor of JavaScriptCore.
@@ -159,6 +159,7 @@ android {
159
159
// see https://facebook.github.io/react-native/docs/signed-apk-android.
160
160
signingConfig signingConfigs. debug
161
161
minifyEnabled enableProguardInReleaseBuilds
162
+ shrinkResources true
162
163
proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
163
164
}
164
165
}
You can’t perform that action at this time.
0 commit comments