|
@@ -1,21 +1,95 @@
|
|
|
-# Add project specific ProGuard rules here.
|
|
|
-# You can control the set of applied configuration files using the
|
|
|
-# proguardFiles setting in build.gradle.
|
|
|
-#
|
|
|
-# For more details, see
|
|
|
-# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
-
|
|
|
-# If your project uses WebView with JS, uncomment the following
|
|
|
-# and specify the fully qualified class name to the JavaScript interface
|
|
|
-# class:
|
|
|
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
|
-# public *;
|
|
|
-#}
|
|
|
-
|
|
|
-# Uncomment this to preserve the line number information for
|
|
|
-# debugging stack traces.
|
|
|
-#-keepattributes SourceFile,LineNumberTable
|
|
|
+-verbose
|
|
|
+-android
|
|
|
+-forceprocessing
|
|
|
+
|
|
|
+-optimizationpasses 14
|
|
|
+
|
|
|
+-allowaccessmodification
|
|
|
+-dontpreverify
|
|
|
+-dontskipnonpubliclibraryclasses
|
|
|
+-dontskipnonpubliclibraryclassmembers
|
|
|
+
|
|
|
+-mergeinterfacesaggressively
|
|
|
+-overloadaggressively
|
|
|
+-flattenpackagehierarchy
|
|
|
+-keeppackagenames doNotKeepAThing
|
|
|
+-repackageclasses 'okhttp3.internal.conn.compat'
|
|
|
+-ignorewarnings
|
|
|
+
|
|
|
+-obfuscationdictionary dictionary.txt
|
|
|
+-classobfuscationdictionary classdictionary.txt
|
|
|
+#nucore
|
|
|
+-packageobfuscationdictionary dictionary.txt
|
|
|
+#-resourcefilenameobfuscationdictionary filedictionary.txt
|
|
|
+
|
|
|
+# Obfuscate everything, including class names, method names, and fields
|
|
|
+#-repackageclasses ''
|
|
|
+
|
|
|
+# Do not keep any debugging information
|
|
|
+-renamesourcefileattribute ""
|
|
|
+-keepattributes !SourceFile, !LineNumberTable, !Signature
|
|
|
+
|
|
|
+# Aggresively removed unused classes, methods, and fields
|
|
|
+-dontwarn
|
|
|
+-dontnote
|
|
|
|
|
|
-# If you keep the line number information, uncomment this to
|
|
|
-# hide the original source file name.
|
|
|
-#-renamesourcefileattribute SourceFile
|
|
|
+-adaptclassstrings
|
|
|
+-adaptresourcefilenames
|
|
|
+-adaptresourcefilecontents
|
|
|
+
|
|
|
+-include proguard-LoggingRemoval.pro
|
|
|
+# **********************************************************************************************************
|
|
|
+-keep class * { native <methods>; }
|
|
|
+-keep class androidx.core.app.** { public *; }
|
|
|
+-keep class com.google.android.** { *; }
|
|
|
+-keep class com.google.mlkit.** { *; }
|
|
|
+-keep interface com.google.android.** { *; }
|
|
|
+# **********************************************************************************************************
|
|
|
+#nucore
|
|
|
+-dontwarn org.apache.cordova.**
|
|
|
+# **********************************************************************************************************
|
|
|
+#-keep class net.sqlcipher.** { *; }
|
|
|
+-keep class net.zetetic.database.sqlcipher.** { *; }
|
|
|
+#-keep public class * implements com.bumptech.esglide.module.GlideModule
|
|
|
+#-keep public class * extends com.bumptech.esglide.module.AppGlideModule
|
|
|
+#-keep public enum com.bumptech.esglide.load.ImageHeaderParser$** { **[] $VALUES; public *; }
|
|
|
+
|
|
|
+-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
|
+-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
|
|
+-keep public enum com.bumptech.glide.load.ImageHeaderParser$** { **[] $VALUES; public *; }
|
|
|
+
|
|
|
+#-keep public class io.nexilis.service.** { *; }
|
|
|
+-keep public class io.nexilis.service.API { *; }
|
|
|
+-keep public class io.nexilis.service.Callback { *; }
|
|
|
+-keep public class io.nexilis.service.utils.utility.** { *; }
|
|
|
+-keep public class io.nexilis.service.utils.callback.** { *; }
|
|
|
+-keep public class io.nexilis.service.activity.** { *; }
|
|
|
+-keep public class io.nexilis.service.service.** { *; }
|
|
|
+-keep public class io.nexilis.service.utils.SharedObj { *; }
|
|
|
+#-keep public class io.nexilis.service.utils.xthunder.MABController { *; }
|
|
|
+#-keep public class io.nexilis.service.thirdps.mnv.MnVCallback { *; }
|
|
|
+-keep public class io.nexilis.service.utils.xthunder.FloatingButton { *; }
|
|
|
+-keep public enum io.nexilis.service.utils.xthunder.FloatingButton$** { **[] $VALUES; public *; }
|
|
|
+-keep public class io.nexilis.service.utils.xthunder.FeatureBuilder { *; }
|
|
|
+-keep public enum io.nexilis.service.utils.xthunder.FeatureBuilder$** { **[] $VALUES; public *; }
|
|
|
+# Kebutuhan untuk MAB
|
|
|
+#-include proguard-mab.pro
|
|
|
+
|
|
|
+-keep public class javax.mail.** { *; }
|
|
|
+-keep public class com.sun.mail.** { *; }
|
|
|
+-keep public class org.apache.harmony.** { *; }
|
|
|
+
|
|
|
+
|
|
|
+-keepclassmembers class io.nexilis.service.utils.xthunder.JSInterface {
|
|
|
+ public *;
|
|
|
+}
|
|
|
+
|
|
|
+#-keepattributes *Annotation*
|
|
|
+#-keepattributes Exceptions
|
|
|
+#-keepattributes InnerClasses
|
|
|
+#-keepattributes Signature
|
|
|
+#-keepattributes SourceFile,LineNumberTable
|
|
|
+#-keep class com.huawei.hianalytics.**{*;}
|
|
|
+#-keep class com.huawei.updatesdk.**{*;}
|
|
|
+#-keep class com.huawei.hms.**{*;}
|
|
|
+# **********************************************************************************************************
|