{ "id": "134800", "key": "AC-747", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-10-28T08:37:21.000+0000", "created": "2014-08-15T14:12:59.000+0000", "labels": [ "TCSupportTriage", "ios", "iphone", "pushnotification" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "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.", "attachment": [], "flagged": false, "summary": "The value on \"Badge\" is not increased after receiving the Push Notification", "creator": { "name": "granit1986", "key": "granit1986", "displayName": "Andrey Mikhaylov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "granit1986", "key": "granit1986", "displayName": "Andrey Mikhaylov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.2.2\r\nIOS 6.1.6\r\nIOS 7.1", "comment": { "comments": [ { "id": "318844", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello, \r\nplease provide a testcase/code of how you manage the push notification. \r\n\r\nBest Regards", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-15T15:59:31.000+0000", "updated": "2014-08-15T15:59:31.000+0000" }, { "id": "319023", "author": { "name": "granit1986", "key": "granit1986", "displayName": "Andrey Mikhaylov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Titanium.Network.registerForPushNotifications({\r\n\t\t\ttypes:[\r\n\t\t\t\tTi.Network.NOTIFICATION_TYPE_ALERT,\r\n\t\t\t\tTi.Network.NOTIFICATION_TYPE_BADGE,\r\n\t\t\t\tTi.Network.NOTIFICATION_TYPE_NEWSSTAND,\r\n\t\t\t\tTi.Network.NOTIFICATION_TYPE_SOUND\t\r\n\t\t\t],\r\n\t\t\tsuccess:function(e) {\t\t\t\t\t\r\n\t\t\t\t\tAlloy.Globals.core.deviceToken = e.deviceToken;\t\t\t\t\t\r\n\t\t\t\t\tTi.API.info('Token - ' + e.deviceToken);\t\t\t\t\t\t\r\n\t\t\t},\r\n\t\t\terror:function(e) { \r\n\t\t\t\t\tTi.API.error(e);\r\n\t\t\t\t},\r\n\t\t\tcallback:function(e) {\t\t\t\t\r\n\t\t\t\tnotifyReceive(e.data); //handler inside running application\r\n\t\t\t},\r\n\t\t});", "updateAuthor": { "name": "granit1986", "key": "granit1986", "displayName": "Andrey Mikhaylov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-18T06:17:30.000+0000", "updated": "2014-08-18T06:17:30.000+0000" }, { "id": "321535", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe 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]\r\n\r\nh3.Testing Environment: \r\nTitanium SDK: 3.3.0.GA\r\nTitanium CLI: 3.3.0,\r\niPad: 7.1.2,\r\nOS X Version: 10.9.4,\r\nAppcelerator Studio: 3.3.0\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-09-03T08:37:40.000+0000", "updated": "2014-10-28T08:37:14.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }