{ "id": "64228", "key": "TIMOB-3596", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11250", "name": "Sprint 2011-15", "archived": true, "released": true, "releaseDate": "2011-04-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-16T10:45:37.000+0000", "created": "2011-04-15T03:47:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "airship", "android", "notifications", "push", "urban" ], "versions": [], "issuelinks": [ { "id": "10283", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64792", "key": "TIMOB-3721", "fields": { "summary": "Confirm TIMOB-3596", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-05-16T10:45:37.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

1.7.0 (not new though).

\n

1.Use uatest app, fire off a notification to the device (use\nurban airship)
\n2.with the app inactive, tap the notification

\n

results: nothing

\n

expected: should the app not be launched at this point?

{html}", "attachment": [], "flagged": false, "summary": "Android, UA - tapping notification when app is inactive does not launch app", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130889", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "The Urban Airship module now supports an option {{showAppOnClick}} which should be set on the {{urbanAirship}} object that you send as a parameter to {{registerForPushNotifications}}. The default is {{false}} since the feature has not been available until now. So set {{showAppOnClick}} to true in order to test this, as I show in the example below.\n\nFor QA testing:\n\nI know the QA team has a standard Urban Airship test app, so I'm assuming it is going to be used.\n\nHere are the steps to take:\n\n* Get the latest source for the UA module and re-build it so you can get a new module zip with these changes, OR ask me to e-mail the zip to you.\n* Put the new zip into your test project's root folder.\n* Change your app's code so that you add a {{showAppOnClick: true}} to the {{urbanAirship}} object you pass to {{registerForPushNotifications}}. Example:\n\n{code:title=app.js}\n\nTi.UrbanAirship.registerForPushNotifications({\n\turbanAirship: { appKey: APPKEY ,showAppOnClick:true },\n\tsuccess: function(e) {\n\t\tlog('Successfully registered. APID: ' + e.deviceToken);\n\t},\n\terror: function(e) {\n\t\tlog('Error: ' + e.error);\n\t},\n\tcallback: function(e) {\n\t\tif (e.clicked) {\n\t\t\tlog('User clicked notification: ' + e.message + \", \" + e.payload);\n\t\t}\n\t\telse {\n\t\t\tlog('Push message received: ' + e.message + \", \" + e.payload);\n\t\t}\n\t}\n});\n{code}\n\n* Run the app and register for messages. Then put the app in the background by hitting the Home button.\n* Go the UA web site and send yourself a message.\n* When the notification appears on your device, tap it. The app should come forward.\n\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T18:35:44.000+0000", "updated": "2011-04-15T18:35:44.000+0000" }, { "id": "133250", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "tested on nexus s (2.3.4) and galaxy tab (2.2.1). ", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-05T17:09:46.000+0000", "updated": "2011-05-05T17:09:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }