Closed tdtran closed 2 years ago
Thanks for reporting! The existing rule can also be replaced by yours as AsyncExecutor does not seem to require using a subclass of ThrowableFailureEvent
. It's rather just the default.
Instead it requires any class with a constructor that takes a Throwable
as single parameter. Should also update docs with this.
The following should be added to the consumer proguard rule file
The current rule set only have
keepclassmembers
for subclasses ofThrowableFailureEvent
, not forThrowableFailureEvent
class itselfThis problem is not exactly new. Before version 3.3.0 we were supposed to add the rules to our project proguard rule file ourself as advised by EventBus
README
which also forgot the rule forThrowableFailureEvent
class. One user reported the issue herehttps://github.com/greenrobot/EventBus/issues/131#issuecomment-166283438
We had to do the same for our projects.