anyevent-apns-perl
anyevent-apns-perl copied to clipboard
Bug fix: casting badge number into integer doesn't work
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)
Thanks! Could you attach crashing test case?
t/05_badge.t here you go :)
hi, how about this request? I would be happy if you would merge this.