Closed softmarshmallow closed 4 years ago
Hello. could you please verify that if you specify minifyEnabled true for debug build this stops working for the debug builds as well. this will mean proguard is removing something important. I will not be able to help you figure out the reason without sharing the code using transitions which stops working for you
Hi, thanks for the reply.
release {
manifestPlaceholders = [enableCrashReporting: "true"]
/* shrinkResources true
zipAlignEnabled true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'*/
signingConfig signingConfigs.release
}
Works for release if proguard related lines are muted Also doesnt work for debug when minify is enabled.
this library works with proguard, I tested it, and there were no other issues created for this issue during all the years library exists. so probably the issue is not directly in the library. and I will not be able to help you without seeing the code you have for not working animation
As you can see, there is nothing special to block animation-related actions on my proguard file. Interestingly, the transition wont work on product-release mode.
I know there is lack of information, but when i enable debugging, then animation will work fine again. (sadly cannot provide any helpful debugging information/log/ect..)
app.gradle
-> turns out to be only works when
debuggable true
-> which is not recommanded for release flavor