Titanium JIRA Archive
Appcelerator Community (AC)

[AC-747] The value on "Badge" is not increased after receiving the Push Notification

GitHub Issuen/a
ResolutionCannot Reproduce
Resolution Date2014-10-28T08:37:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage, ios, iphone, pushnotification
ReporterAndrey Mikhaylov
AssigneeMauro Parra-Miranda


When Push Notification received, the badge value is not increased. This happens only in iPhone application compiled in Titanium.Do not suggest increasing the value manually using the appBadge value because the value should change even if the application is closed.


  1. Mauro Parra-Miranda 2014-08-15

    Hello, please provide a testcase/code of how you manage the push notification. Best Regards
  2. Andrey Mikhaylov 2014-08-18

    Titanium.Network.registerForPushNotifications({ types:[ Ti.Network.NOTIFICATION_TYPE_ALERT, Ti.Network.NOTIFICATION_TYPE_BADGE, Ti.Network.NOTIFICATION_TYPE_NEWSSTAND, Ti.Network.NOTIFICATION_TYPE_SOUND ], success:function(e) { Alloy.Globals.core.deviceToken = e.deviceToken; Ti.API.info('Token - ' + e.deviceToken); }, error:function(e) { Ti.API.error(e); }, callback:function(e) { notifyReceive(e.data); //handler inside running application }, });
  3. Motiur Rahman 2014-09-03

    Hello, We have tested this issue. And we can send badge number from dashboard ACS pushNotification but if we want to increment or decrement badge number, prefix the number with either the + or - symbol to increment or decrement the current value, respectively. [Doc Link](http://docs.appcelerator.com/cloud/latest/#!/api/PushNotifications)

    Testing Environment:

    Titanium SDK: 3.3.0.GA Titanium CLI: 3.3.0, iPad: 7.1.2, OS X Version: 10.9.4, Appcelerator Studio: 3.3.0 Thanks.

JSON Source