Skip to content

Commit 553bb1f

Browse files
committed
Prevented obfuscation of ssj classes as potential bugfix for app bundle apk generation
1 parent 56d5a00 commit 553bb1f

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

demo/proguard-rules.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
-keep class hcm.ssj.**

libssj/proguard-rules.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
-keep class hcm.ssj.**

ssjcreator/build.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,24 @@ android {
5555
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
5656
}
5757
}
58+
59+
bundle {
60+
language {
61+
// Specifies that the app bundle should not support
62+
// configuration APKs for language resources. These
63+
// resources are instead packaged with each base and
64+
// dynamic feature APK.
65+
enableSplit = false
66+
}
67+
density {
68+
// This property is set to true by default.
69+
enableSplit = false
70+
}
71+
abi {
72+
// This property is set to true by default.
73+
enableSplit = true
74+
}
75+
}
5876
}
5977

6078
repositories {

ssjcreator/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
19+
-keep class hcm.ssj.**

0 commit comments

Comments
 (0)