I'm using ProGuard and setting/clearing badges doesn't work for the signed and ProGuard shrunk apk because it's removing the classes in me.leolin.shortcutbadger and me.leolin.shortcutbadger.util. I have no idea why since the ShortcutBadger is clearly referenced in one of my classes?
Anyway I needed to add:
-keep public class me.leolin.shortcutbadger.**
-keepclassmembers public class me.leolin.shortcutbadger.** {
*;
}
to my ProGuard config.
Maybe you can add that to your configuration too.
Thank you for this great library!
I'm using ProGuard and setting/clearing badges doesn't work for the signed and ProGuard shrunk apk because it's removing the classes in me.leolin.shortcutbadger and me.leolin.shortcutbadger.util. I have no idea why since the ShortcutBadger is clearly referenced in one of my classes?
Anyway I needed to add:
to my ProGuard config. Maybe you can add that to your configuration too.