anyevent-apns-perl icon indicating copy to clipboard operation
anyevent-apns-perl copied to clipboard

Bug fix: casting badge number into integer doesn't work

Open i110 opened this issue 12 years ago • 3 comments

The following line is almost unuseful because this will be done after encoding payload to JSON.

$payload->{aps}{badge} += 0

So, bring this to the first of the method (before encoding)

i110 avatar Feb 28 '13 08:02 i110

Thanks! Could you attach crashing test case?

typester avatar Feb 28 '13 09:02 typester

t/05_badge.t here you go :)

i110 avatar Feb 28 '13 19:02 i110

hi, how about this request? I would be happy if you would merge this.

i110 avatar Jun 28 '13 06:06 i110