-
Notifications
You must be signed in to change notification settings - Fork 10
/
consumer-proguard-rules.txt
20 lines (15 loc) · 851 Bytes
/
consumer-proguard-rules.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##### EventBus - http://greenrobot.org/eventbus/documentation/proguard/
-keepattributes *Annotation*
-keepclassmembers class * {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
# The error dialog fragment classes are not used so it is safe to ignore warnings about missing legacy
# support library references such as android.support.v4.app.FragmentActivity
-dontwarn org.greenrobot.eventbus.util.ErrorDialogFragmentFactory$Support
-dontwarn org.greenrobot.eventbus.util.ErrorDialogFragments$Support
-dontwarn org.greenrobot.eventbus.util.ErrorDialogManager$SupportManagerFragment
# ContextualViewBinding subclasses are reflectively instantiated in ViewFactory#createViewHolderForType
-keepclassmembers,allowobfuscation class * extends com.snap.ui.recycling.ViewBinding {
<init>(...);
}