Browse Source

Enabled proguard in release builds

Arnaud Vergnet 3 years ago
parent
commit
44e0f63e64
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      android/app/build.gradle
  2. 1
    1
      package.json

+ 3
- 3
android/app/build.gradle View File

100
 /**
100
 /**
101
  * Run Proguard to shrink the Java bytecode in release builds.
101
  * Run Proguard to shrink the Java bytecode in release builds.
102
  */
102
  */
103
-def enableProguardInReleaseBuilds = false
103
+def enableProguardInReleaseBuilds = true
104
 
104
 
105
 /**
105
 /**
106
  * The preferred build flavor of JavaScriptCore.
106
  * The preferred build flavor of JavaScriptCore.
136
         applicationId 'fr.amicaleinsat.application'
136
         applicationId 'fr.amicaleinsat.application'
137
         minSdkVersion rootProject.ext.minSdkVersion
137
         minSdkVersion rootProject.ext.minSdkVersion
138
         targetSdkVersion rootProject.ext.targetSdkVersion
138
         targetSdkVersion rootProject.ext.targetSdkVersion
139
-        versionCode 20
140
-        versionName "3.0.3"
139
+        versionCode 21
140
+        versionName "3.0.4"
141
         missingDimensionStrategy 'react-native-camera', 'general'
141
         missingDimensionStrategy 'react-native-camera', 'general'
142
     }
142
     }
143
     splits {
143
     splits {

+ 1
- 1
package.json View File

1
 {
1
 {
2
   "name": "campus",
2
   "name": "campus",
3
-  "version": "3.0.3",
3
+  "version": "3.0.4",
4
   "private": true,
4
   "private": true,
5
   "scripts": {
5
   "scripts": {
6
     "start": "react-native start",
6
     "start": "react-native start",

Loading…
Cancel
Save