timehop/apns — pull request #15 by nathany (2014-12-10 23:11:48+00:00)
Title: Badge zero and empty are different

I don't like this particular solution because it changes the API - and not in a nice way. :frowning:

But this does provide specs for the issue. Badge: 0 and no badge have different behaviours on APNs. Right now it's not possible to clear out the badge and notifications list by sending 0 (Badge is omitempty and 0 is considered empty).