Fixed initial crashes occurring due to improperly obfuscated constructors and inner fields

This commit is contained in:
Viktor De Pasquale 2019-05-24 15:53:08 +02:00
parent 4fd0fe3194
commit a7eec2f0a0

View File

@ -16,6 +16,11 @@
# public *; # public *;
#} #}
# Internal app data and IO helper constructors
-keep class com.topjohnwu.magisk.model.entity.** { *; }
-keep class com.topjohnwu.magisk.data.database.base.** { public <init>(...); }
-keep class com.topjohnwu.magisk.data.network.** { public <init>(...); }
# Snet # Snet
-keepclassmembers class com.topjohnwu.magisk.utils.ISafetyNetHelper { *; } -keepclassmembers class com.topjohnwu.magisk.utils.ISafetyNetHelper { *; }
-keep,allowobfuscation interface com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback -keep,allowobfuscation interface com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback