sephiroth74 / android-target-tooltip

Create Toast like tooltips, but targets can be specified, plus custom properties and features
MIT License
1.49k stars 278 forks source link

Proguard issue #134

Open gioana opened 5 years ago

gioana commented 5 years ago

When setting minifyEnabled true the circle animation is broken and only a static circle is shown. What proguard exceptions should we add to prevent this?

Gary111 commented 5 years ago

Yes, that's true, got the same problem.

Gary111 commented 5 years ago

@gioana, found a solution: -keep class it.sephiroth.android.library.xtooltip.TooltipOverlayDrawable { *; } It helps me, I use AGP 3.4.0 with R8 (not in full mode).

@sephiroth74, pls, check it, and maybe there is an option to refactor code a little to avoid adding the special proguard rule.

gioana commented 5 years ago

@Gary111, thank you so much for the solution, it works for me too.