{ "id": "139955", "key": "AC-1526", "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": "2015-04-08T06:08:40.000+0000", "created": "2014-11-18T13:55:38.000+0000", "labels": [ "device", "pushnotification", "token" ], "versions": [], "issuelinks": [], "assignee": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updated": "2016-03-08T07:37:59.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": "i run following codes on ios8 with sdk 3.4.1 RC and 3.4.1 GA but registering function doesnt enter any function (success , error , callback). It stay suspended and i cant take any reply.\r\n\r\nThanks for your help.\r\n\r\nfunction registerForPush() {\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tTi.Network.registerForPushNotifications({\r\n\r\n\t\t\t\t\t\tsuccess : function(e) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tApplicationManager.DeviceToken = e.deviceToken;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\targs.callback(true);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\terror : function(e) {\r\n\t\t\t\t\t\t\tApplicationManager.ShowMessage(e.error);\r\n\t\t\t\t\t\t\targs.callback(false);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tcallback : function(e) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tApplicationManager.NOTIFI = e;\r\n\t\t\t\t\t\t\tself.OpenNotification();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tTi.App.iOS.removeEventListener('usernotificationsettings', registerForPush);\r\n\t\t\t\t};\r\n\t\t\t\t\r\n\t\t\t\tTi.App.iOS.registerUserNotificationSettings({\r\n\t\t\t\t\ttypes : [Ti.App.iOS.USER_NOTIFICATION_TYPE_BADGE, Ti.App.iOS.USER_NOTIFICATION_TYPE_ALERT, Ti.App.iOS.USER_NOTIFICATION_TYPE_SOUND],\r\n\t\t\t\t});\r\n\t\t\t\tTi.App.iOS.addEventListener('usernotificationsettings', registerForPush);", "attachment": [], "flagged": false, "summary": "registerForPushNotifications doesnt return any token", "creator": { "name": "programlama@akinsoft.com.tr", "key": "programlama@akinsoft.com.tr", "displayName": "Ercan POLAT", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "programlama@akinsoft.com.tr", "key": "programlama@akinsoft.com.tr", "displayName": "Ercan POLAT", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "Titanium Studio, build: 3.4.1 Mac OS X", "comment": { "comments": [ { "id": "353439", "author": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "body": "Yet another JIRA with this issue and yet another case where it looks like it wasn't solved. Seems to me we need to look at another platform if we want to use push notifications... sad I have spent years writing appcelerator apps to have to possibly move off it :(", "updateAuthor": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "created": "2015-05-25T20:53:56.000+0000", "updated": "2015-05-25T20:53:56.000+0000" }, { "id": "353443", "author": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "chadstachowicz", "key": "chadstachowicz", "displayName": "Chad Stachowicz", "active": true, "timeZone": "America/New_York" }, "created": "2015-05-25T22:05:48.000+0000", "updated": "2015-05-25T22:05:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }