Skip to content

Commit b4f2a33

Browse files
authored
Merge pull request #72 from tom5079/dev
Modified proguard rules to fix error occurs on Android 4
2 parents 6abc404 + ee7ede2 commit b4f2a33

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ android {
1919
applicationId "xyz.quaver.pupil"
2020
minSdkVersion 16
2121
targetSdkVersion 29
22-
versionCode 47
23-
versionName "4.11"
22+
versionCode 48
23+
versionName "4.12"
2424
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2525
multiDexEnabled true
2626
vectorDrawables.useSupportLibrary = true
@@ -66,7 +66,7 @@ dependencies {
6666
implementation 'androidx.preference:preference:1.1.0'
6767
implementation 'androidx.gridlayout:gridlayout:1.0.0'
6868
implementation "androidx.biometric:biometric:1.0.1"
69-
implementation 'com.android.support:multidex:1.0.3'
69+
implementation 'androidx.multidex:multidex:2.0.1'
7070
implementation "com.daimajia.swipelayout:library:1.2.0@aar"
7171
implementation 'com.google.android.material:material:1.2.0-alpha05'
7272
implementation 'com.google.firebase:firebase-core:17.2.2'

app/proguard-rules.pro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
-dontobfuscate
2424

2525
-keep public class * implements com.bumptech.glide.module.GlideModule
26-
-keep public class * extends com.bumptech.glide.module.AppGlideModule
26+
-keep class * extends com.bumptech.glide.module.AppGlideModule {
27+
<init>(...);
28+
}
2729
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
2830
**[] $VALUES;
2931
public *;
32+
}
33+
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
34+
*** rewind();
3035
}

app/release/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":47,"versionName":"4.11","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":48,"versionName":"4.12","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]

0 commit comments

Comments
 (0)