Closed dschneider closed 12 years ago
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
Found the cause :) Neither a GEM issue, nor a UA issue!
Glad you were able to figure it out!
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:
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