From 29cc372bfa26415d265ef222713f54f59d6760ae Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Sat, 17 Apr 2021 18:54:27 +0800 Subject: [PATCH] Fix proguard rules --- app/proguard-rules.pro | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 2640304f6..e7e963c9d 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -26,7 +26,7 @@ -keepclassmembers class com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper { *; } -keep,allowobfuscation interface com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback -keepclassmembers class * implements com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback { - void onResponse(org.json.JSONObject); + void onResponse(java.lang.String); } # Stub @@ -46,7 +46,12 @@ -repackageclasses 'a' -allowaccessmodification -# QOL --dontnote ** --dontwarn com.caverock.androidsvg.** --dontwarn ru.noties.markwon.** +-dontwarn org.bouncycastle.jsse.BCSSLParameters +-dontwarn org.bouncycastle.jsse.BCSSLSocket +-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider +-dontwarn org.commonmark.ext.gfm.strikethrough.Strikethrough +-dontwarn org.conscrypt.Conscrypt* +-dontwarn org.conscrypt.ConscryptHostnameVerifier +-dontwarn org.openjsse.javax.net.ssl.SSLParameters +-dontwarn org.openjsse.javax.net.ssl.SSLSocket +-dontwarn org.openjsse.net.ssl.OpenJSSE