adding some EventBus related proguard rules
This commit is contained in:
parent
45b216235d
commit
1115ce696c
1 changed files with 6 additions and 0 deletions
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
|
@ -0,0 +1,6 @@
|
|||
# EventBus
|
||||
-keepattributes *Annotation*
|
||||
-keepclassmembers class ** {
|
||||
@org.greenrobot.eventbus.Subscribe <methods>;
|
||||
}
|
||||
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
Loading…
Reference in a new issue