{ "id": "124724", "key": "TIMOB-16178", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15922", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15923", "description": "2014 Sprint 03 API", "name": "2014 Sprint 03 API", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-03-29T16:01:14.000+0000", "created": "2014-01-13T15:55:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T16:01:18.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h2. Problem description\r\nWhen receiving a push notification, if the app is in background and it is resumed without clicking the notification in the bar, the callback is not fired.\r\n\r\nh2. Code\r\nTested with this sample code: https://gist.github.com/davidecassenti/3ca943961098c0534e97\r\n\r\nh2. Steps\r\n1. Run the app\r\n2. Click subscribe\r\n3. Put the app in background\r\n4. Send a notification\r\n5. Open the app using the icon, not the notification", "attachment": [], "flagged": false, "summary": "iOS: Push notification callback not fired if app is in background and resumed without clicking the notification", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 7.0.4\r\nSDK 3.2.0.GA", "comment": { "comments": [ { "id": "291043", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks like this is the native behavior. if your app is in the background and notification comes,if the user chooses to ignore it, we don't get a callback for it. \n\nThere is a [thread in StackOverflow|http://stackoverflow.com/questions/11088284/get-push-notification-resuming-app-from-background] which describes the same problem.\n\nMarking it as invalid.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-04T00:32:16.000+0000", "updated": "2014-02-04T00:32:16.000+0000" }, { "id": "416152", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid, with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T16:00:05.000+0000", "updated": "2017-03-29T16:00:05.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }