NetGuard/app/proguard-rules.pro

39 lines
1.1 KiB
Prolog
Raw Normal View History

2015-10-24 18:01:55 +00: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 09:10:05 +00:00
#Line numbers
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
#NetGuard
-keepnames class eu.faircode.netguard.** { *; }
2015-11-07 12:42:58 +00:00
2016-01-13 08:23:21 +00:00
#JNI callback
-keep class eu.faircode.netguard.Packet { *; }
2016-01-09 18:53:28 +00:00
-keep class eu.faircode.netguard.SinkholeService {
2016-01-24 11:50:40 +00:00
void nativeExit(java.lang.String);
void logPacket(eu.faircode.netguard.Packet);
2016-01-09 18:53:28 +00:00
}
2015-11-07 12:42:58 +00:00
#Support library
2015-10-30 10:59:49 +00:00
-keep class android.support.v7.widget.** { *; }
2015-10-30 09:10:05 +00:00
-dontwarn android.support.v4.**
2015-11-07 12:42:58 +00:00
#Picasso
-dontwarn com.squareup.okhttp.**