{ "id": "127408", "key": "AC-944", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-03-25T19:50:17.000+0000", "created": "2014-03-07T14:43:17.000+0000", "labels": [ "android", "crash", "onresume", "pushnotification", "ti.cloudpush" ], "versions": [], "issuelinks": [], "assignee": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:15.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": [], "description": "I am using the push notification code similar to the one's provided in the documentation. I have attached the code block and an image showing the error.\r\n\r\nTo recreate on device:\r\n-Start application and register/login to Titanium Cloud.\r\n-Go to background and start another application\r\n-Send a push notification to the device.\r\n-Select notification to relaunch the Titanium App\r\n-App crashes with error.", "attachment": [ { "id": "46462", "filename": "pushNotifCode.txt", "author": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-07T14:43:17.000+0000", "size": 1756, "mimeType": "text/plain" }, { "id": "46461", "filename": "Screen Shot 2014-03-07 at 9.34.04 AM.png", "author": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-07T14:43:17.000+0000", "size": 124913, "mimeType": "image/png" } ], "flagged": false, "summary": "Android crash on application resume through selecting push notification", "creator": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium 3.2.1 Android platform\r\nTested through OSX on Galaxy S2 and Galaxy S4", "comment": { "comments": [ { "id": "298289", "author": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I used the provided function/test code and was not able to reproduce the issue.\r\nTested on 3.2.1.GA\r\nGalaxy SII, Nexus 5\r\nSteps my sample project does:\r\n\r\n1. Call provided AndroidNotificationRegistration();\r\n a. Retrieves Device Token, on success login to ACS cloud with Cloud.login();\r\n b. On login success I subscribe to a channel with Cloud.pushNotifications.subscribe()\r\n2. Leave App and Open browser/Other app. \r\n3. Use WebConsole to send push notification.\r\n4. Click on notification on device, returns to test app without problem.\r\n\r\nThings to note and some assumptions I made:\r\n1. I assume you are taking care of logging in and subscribing somewhere else in your unprovided code. \r\n2. I had to remove references to 'pushDialog' in your provided code. It looked like you were trying to access it before creating it.\r\n\r\nHopefully this sheds some light on your scenario.\r\n\r\nThanks,\r\nSeth\r\n\r\n\r\n \r\n\r\n", "updateAuthor": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-21T22:24:59.000+0000", "updated": "2014-03-21T22:27:41.000+0000" }, { "id": "298415", "author": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "body": "Thanks Seth for taking the time to update this ticket. \n\nI should've mentioned that the Galaxy S2 was on 2.3.6. The CloudPush version was 2.2. \n\nI downloaded version 2.3.3 of CloudPush and it fixed the issue. I'll do more tests before I mark this as resolved.", "updateAuthor": { "name": "johnleeroy", "key": "johnleeroy", "displayName": "John Li", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-24T15:27:29.000+0000", "updated": "2014-03-24T15:27:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }