[TIMOB-3596] Android, UA - tapping notification when app is inactive does not launch app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-16T10:45:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-15 |
Components | Android |
Labels | airship, android, notifications, push, urban |
Reporter | Thomas Huelbert |
Assignee | Bill Dawson |
Created | 2011-04-15T03:47:03.000+0000 |
Updated | 2011-05-16T10:45:37.000+0000 |
Description
1.7.0 (not new though).
1.Use uatest app, fire off a notification to the device (use
urban airship)
2.with the app inactive, tap the notification
results: nothing
expected: should the app not be launched at this point?
The Urban Airship module now supports an option
showAppOnClick
which should be set on theurbanAirship
object that you send as a parameter toregisterForPushNotifications
. The default isfalse
since the feature has not been available until now. So setshowAppOnClick
to true in order to test this, as I show in the example below. For QA testing: I know the QA team has a standard Urban Airship test app, so I'm assuming it is going to be used. Here are the steps to take: * 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. * Put the new zip into your test project's root folder. * Change your app's code so that you add ashowAppOnClick: true
to theurbanAirship
object you pass toregisterForPushNotifications
. Example:* Run the app and register for messages. Then put the app in the background by hitting the Home button. * Go the UA web site and send yourself a message. * When the notification appears on your device, tap it. The app should come forward.
tested on nexus s (2.3.4) and galaxy tab (2.2.1).