{ "id": "124381", "key": "AC-2244", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-07T05:56:39.000+0000", "created": "2014-01-04T17:28:51.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:14.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": [], "description": "No changes made to app, since January 1st push notifications are not delivered to any endpoints. The logs all show the correct data in ACS, except that it shows it was never sent to ANY devices. This includes using the web console to send a test to ALL DEVICES. I can see my devices registering just fine. This needs to be fixed immediatly since its affecting production apps which have been in the store for months!!\r\n\r\nif(Titanium.Platform.osname == 'iphone' || Titanium.Platform.osname == 'ipad'){\r\n Titanium.Network.registerForPushNotifications({\r\n types: [\r\n Titanium.Network.NOTIFICATION_TYPE_BADGE,\r\n Titanium.Network.NOTIFICATION_TYPE_ALERT\r\n ],\r\n success:function(e)\r\n {\r\n var deviceToken = e.deviceToken;\r\n Cloud.Users.login({\r\n login: 'username',\r\n password: 'password'\r\n }, function (e) {\r\n if (e.success) {\r\n Cloud.PushNotifications.subscribe({\r\n channel: 'alert',\r\n type:'ios',\r\n device_token: deviceToken\r\n }, function (e) {\r\n if (e.success) {\r\n var env = 'development';\r\n if(Ti.App.Properties.getString('production')=='true'){\r\n env = 'production';\r\n }\r\n var postData = {'token': deviceToken,\r\n 'model' : escape(Titanium.Platform.model),\r\n 'os': escape(Titanium.Platform.osname),\r\n 'name': escape(Titanium.Platform.model),\r\n 'environment': env};\r\n request = postRegisterDevice(Titanium.App.Properties.getString(\"mmat\"),postData);\r\n request.onload = function()\r\n {\r\n };\r\n request.send(postData);\r\n } else {\r\n alert('Error:\\\\n' + ((e.error && e.message) || JSON.stringify(e)));\r\n }\r\n });\r\n } else {\r\n // alert('Error:\\\\n' +((e.error && e.message) || JSON.stringify(e)));\r\n }\r\n });\r\n Ti.API.info(\"Push notification device token is: \"+deviceToken);\r\n Ti.API.info(\"Push notification types: \"+Titanium.Network.remoteNotificationTypes);\r\n Ti.API.info(\"Push notification enabled: \"+Titanium.Network.remoteNotificationsEnabled);\r\n },\r\n error:function(e)\r\n {\r\n \r\n \r\n },\r\n callback:function(e)\r\n {\r\n alert(\"notification received\");\r\n } \r\n \r\n });\r\n}\r\n}", "attachment": [], "flagged": false, "summary": "ACS Not delivering push notifications in production or development", "creator": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "environment": "Production + Development", "comment": { "comments": [ { "id": "286663", "author": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "body": "I also just re-created a new Push Cert for production even though it had 28 days till it expired (Jan 28th, 2014), uploaded it to ACS, and no difference. Can someone please answer, the app has been on the store since November 28th!!\n", "updateAuthor": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "created": "2014-01-04T17:43:26.000+0000", "updated": "2014-01-04T17:43:26.000+0000" }, { "id": "286681", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~chadstachowicz] There was an issue with Android MQTT push notification service for a brief duration earlier this week but your code snippet suggests you are running into this issue on iOS platform. Can you please confirm the same? \n\nPlease send your App Key and Device ID to ragrawal@appcelerator.com privately so that we can diagnose this issue further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-05T21:36:27.000+0000", "updated": "2014-01-05T21:36:27.000+0000" }, { "id": "286891", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as the reporter confirmed in an email that the push notification service is working fine for him now.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-07T05:56:39.000+0000", "updated": "2014-01-07T05:56:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }