From 93fb0e3d74ac34b73ba738aea3e0e307aba3ad7e Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 19 Apr 2019 03:26:33 -0400 Subject: [PATCH] Fix release builds --- app/proguard-rules.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 00ff344e1..33f347808 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -29,6 +29,11 @@ void onResponse(int); } +# Keep all fragment constructors +-keepclassmembers class * extends androidx.fragment.app.Fragment { + public (...); +} + # DelegateWorker -keep,allowobfuscation class * extends com.topjohnwu.magisk.model.worker.DelegateWorker