2015-10-24 20:01:55 +02:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# By default, the flags in this file are appended to flags specified
|
|
|
|
# in /home/marcel/Android/Sdk/tools/proguard/proguard-android.txt
|
|
|
|
# You can edit the include path and order by changing the proguardFiles
|
|
|
|
# directive in build.gradle.
|
|
|
|
#
|
|
|
|
# For more details, see
|
|
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
|
|
|
|
# Add any project specific keep options here:
|
|
|
|
|
|
|
|
# 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 *;
|
|
|
|
#}
|
2015-10-30 10:10:05 +01:00
|
|
|
|
|
|
|
#Line numbers
|
|
|
|
-renamesourcefileattribute SourceFile
|
|
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
|
|
|
|
#NetGuard
|
|
|
|
-keepnames class eu.faircode.netguard.** { *; }
|
2015-11-07 13:42:58 +01:00
|
|
|
|
2016-01-30 09:51:41 +01:00
|
|
|
#JNI
|
|
|
|
-keepclasseswithmembernames class * {
|
|
|
|
native <methods>;
|
|
|
|
}
|
|
|
|
|
2016-01-28 11:58:39 +01:00
|
|
|
#JNI callbacks
|
2016-03-13 17:09:12 +01:00
|
|
|
-keep class eu.faircode.netguard.Allowed { *; }
|
2016-01-22 10:37:57 +01:00
|
|
|
-keep class eu.faircode.netguard.Packet { *; }
|
2016-03-10 16:18:45 +01:00
|
|
|
-keep class eu.faircode.netguard.ResourceRecord { *; }
|
|
|
|
-keep class eu.faircode.netguard.Usage { *; }
|
2016-03-13 17:09:12 +01:00
|
|
|
-keep class eu.faircode.netguard.ServiceSinkhole {
|
2016-01-24 12:50:40 +01:00
|
|
|
void nativeExit(java.lang.String);
|
2016-02-14 14:40:45 +01:00
|
|
|
void nativeError(int, java.lang.String);
|
2016-01-22 10:37:57 +01:00
|
|
|
void logPacket(eu.faircode.netguard.Packet);
|
2016-01-30 09:51:41 +01:00
|
|
|
void dnsResolved(eu.faircode.netguard.ResourceRecord);
|
2016-01-28 11:58:39 +01:00
|
|
|
boolean isDomainBlocked(java.lang.String);
|
2019-06-06 11:58:22 +02:00
|
|
|
int getUidQ(int, int, java.lang.String, int, java.lang.String, int);
|
2016-02-07 17:44:23 +01:00
|
|
|
eu.faircode.netguard.Allowed isAddressAllowed(eu.faircode.netguard.Packet);
|
2016-02-15 17:48:53 +01:00
|
|
|
void accountUsage(eu.faircode.netguard.Usage);
|
2016-01-09 19:53:28 +01:00
|
|
|
}
|
|
|
|
|
2018-11-17 17:32:36 +01:00
|
|
|
#AndroidX
|
|
|
|
-keep class androidx.appcompat.widget.** { *; }
|
|
|
|
-keep class androidx.appcompat.app.AppCompatViewInflater { <init>(...); }
|
|
|
|
-keepclassmembers class * implements android.os.Parcelable { static ** CREATOR; }
|
2015-11-07 13:42:58 +01:00
|
|
|
|
2018-01-05 08:49:50 +01:00
|
|
|
#Glide
|
|
|
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
|
|
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
|
|
|
-keep enum com.bumptech.glide.** {*;}
|
|
|
|
#-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
|
|
|
|
# **[] $VALUES;
|
|
|
|
# public *;
|
|
|
|
#}
|
2016-07-24 18:02:56 +02:00
|
|
|
|
|
|
|
#AdMob
|
|
|
|
-dontwarn com.google.android.gms.internal.**
|