urban airship badge number iOS7

I have been working with urban airship push notification service for iOS for many times , It works , but in this last time I can't get the badge number when I receive the notification in iOS7 .

I use the normal web form for sending the notification alert and set the budge number as 1 as I always do .. but no budge appear , any body know why?

And how can I make that number increment automatically ? is it done by set the budge as +1?

Answers


Application badge count is an OS level function on Apple's side. Meaning, if you are sending "1", "+1", or "auto" (For Urban Airship's payload), then it should appear if you have that feature enabled on your device settings.

This is explained a little bit further here: http://support.apple.com/kb/ht3576

Essentially you will need to navigate to Settings > Notification Center > to then enable badge app icons for your app.


  • Did you check whether the badge notification is switched on for the application in the device?

  • The values do not increment, you will have to maintain the total number in the server and send it through the payload. So, if you are having 9 unread emails, you will have to send 9 in the payload as the badge number See here:Increment the Push notification Badge iPhone

Are you sure when you used the UIApplication registerForRemoteNotificationTypes method that you specified badge number notifications as an option?

Here's the Urban Airship way of doing it:

UAPush* push = [UAPush shared];    
[push setNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

Need Your Help

How can I solve this problem? "Error executing tag <export:formats>: groovy.lang.MissingMethodException: "

excel grails export tags

It seems like it´s not getting the right method or siganture. It has already worked for a long time, but yeterday I got this Error and I don´t know where I can start.

Understanding PackageCode, ProductCode and UpgradeCode of WIX with multi instances

wix windows-installer multiple-instances

My multi instance msi setup work only if I use the same msi file. Then the user