Skip to content

Commit 61b981b

Browse files
authored
Merge pull request #252 from qccoders/mobile-app-minify
Enable Proguard minification
2 parents e361d06 + 6191f36 commit 61b981b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mobile-new/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212
}
1313
buildTypes {
1414
release {
15-
minifyEnabled false
15+
minifyEnabled true
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}

mobile-new/app/proguard-rules.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# If your project uses WebView with JS, uncomment the following
99
# and specify the fully qualified class name to the JavaScript interface
1010
# class:
11-
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12-
# public *;
13-
#}
11+
-keepclassmembers class org.qccoders.qcvoc.MainActivity {
12+
public *;
13+
}
1414

1515
# Uncomment this to preserve the line number information for
1616
# debugging stack traces.

0 commit comments

Comments
 (0)