{ "id": "137312", "key": "AC-1402", "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-10-15T02:17:46.000+0000", "created": "2014-09-27T19:45:54.000+0000", "labels": [ "android", "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updated": "2016-03-08T07:37:49.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi, All I am facing an issue in which i am implementing push notification in android, i am able to get the push notification success fully after subscribing if the application is in background. But the problem arises when the application is closed its showing me myApp has stopped unexpectedly. \r\n\r\nI am attaching my android manifest after my build, my tiapp.xml, the ddms error log screenshot and my .js file.", "attachment": [ { "id": "51660", "filename": "AndroidManifest.xml", "author": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-09-27T19:45:54.000+0000", "size": 3046, "mimeType": "text/xml" }, { "id": "51662", "filename": "loginPage.js", "author": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-09-27T19:45:54.000+0000", "size": 1140, "mimeType": "text/javascript" }, { "id": "51661", "filename": "Screen Shot 2014-09-27 at 8.00.42 pm.png", "author": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-09-27T19:45:54.000+0000", "size": 244561, "mimeType": "image/png" }, { "id": "51663", "filename": "tiapp.xml", "author": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-09-27T19:45:54.000+0000", "size": 3089, "mimeType": "text/xml" } ], "flagged": false, "summary": "Push notification not received", "creator": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "ishansingh2003", "key": "ishansingh2003", "displayName": "Ishan Singh", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio 3.3 , titanium sdk 3.3.0.GA , OS- mavericks, android version 4.2.1", "comment": { "comments": [ { "id": "326002", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "If you want received push notification, you have to set callback function to listening the incoming notification. \r\nHere is the sample and guide: [http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.CloudPush]", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-09-28T02:38:48.000+0000", "updated": "2014-09-28T02:38:48.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }