Closed MarcosiOSdev closed 6 years ago
If you think it's proguard, then please try that out. Deactivate proguard and see if it works. Also the title of your issue does not match the content.
The version of Gradle cannot affect the behavior of a library. If you think you have a bug please provide a failing test case or executable sample which demonstrates it. Otherwise we have no idea what's going on.
There are some code that I use in my project. https://stackoverflow.com/questions/48506769/otto-bus-doesnt-work-when-i-use-post
I only changed the version gradle , it was only thing I've done !
Hello everybody
My project was gradle 1.3.0 and Busprovider was work perfectly . When I update my project for Gradle 3 because of FCM, My Bus doesnt call @Subscribe and give me "V/FA: Inactivity, disconnecting from the service"
I have two branches : gradle 1.3 and gradle 3, It works on gradle 1.3 when I change to gradle 3 it doesnt work more.
I didnt change the code , I changed only config in build.gradles
I think that is wrong is because of
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
and change fromapt
toannotationProcessor
. My project has very productFlavors.Can anybody help me ?