From a7eec2f0a0caaf6633f0a7c97b17eb371f3688e6 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Fri, 24 May 2019 15:53:08 +0200 Subject: [PATCH] Fixed initial crashes occurring due to improperly obfuscated constructors and inner fields --- app/proguard-rules.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index e0aea4215..00645821b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -16,6 +16,11 @@ # public *; #} +# Internal app data and IO helper constructors +-keep class com.topjohnwu.magisk.model.entity.** { *; } +-keep class com.topjohnwu.magisk.data.database.base.** { public (...); } +-keep class com.topjohnwu.magisk.data.network.** { public (...); } + # Snet -keepclassmembers class com.topjohnwu.magisk.utils.ISafetyNetHelper { *; } -keep,allowobfuscation interface com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback