Auto badge #14

Closed
dschneider opened this Issue Mar 27, 2012 · 2 comments

2 participants

@dschneider

Hi there,

I am experiencing problems with the badge set to "auto". Every time a push notification is sent, the badge gets reset. The code I am using:

:aps => {
   :badge => "auto",
   :alert => message,
   :sound => sound
 }

I've looked through the code and it simply passes the body through to UA's API. Still I wanted to make sure that it's correct to set it like that. If that is the correct way of setting an auto-badge, the problem must reside in the Urban Airship API.

Thanks for your help in advance

Cheers,
Dennis

@dschneider

Found the cause :) Neither a GEM issue, nor a UA issue!

@dschneider dschneider closed this Mar 27, 2012
@joeyschoblaska

Glad you were able to figure it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment