0

I am using motionLayout to animate some aspects of my app and everything works fine but it turns out that when I change from debug to release variant the transictions executed by motionLayout.transitionToEnd() code stop working. Do you have any idea what it could be?

Edited!!

I was testing and when minifyEnabled and shrinkResources is false it works fine

Orelvis15
  • 306
  • 4
  • 11
  • What version of ConstraintLayout were you using? Shrink resources should not break it. – Jason Pearson Jan 21 '21 at 23:27
  • Proguard will remove method's and resources it thinks you are not using. This can remove methods your are using. For example. CustomAttributes use reflection to access set methods so you may need to tell proguard to keep those methods. – hoford Jan 22 '21 at 00:39

0 Answers0