Open micho opened 11 years ago
It turns out that this code get's the job done, without showing a notification.
APNS.send_notification(token, :badge => 123)
I'm having issues getting it to update with the sandbox PRs. Does it behave differently in production, once the app is published? It seems to take minutes to arrive when it does, and I couldn't get it to work consistently.
Does anybody know how to do this? I've seen applications like Mailboxapp update the counter quietly without posting a message for the app, but I haven't been able to do it.
If it's possible, it'd be great to document how to do it in the readme.