Push notifications missing when app in foreground, but device locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
The Savilerow project |
Fix Released
|
Critical
|
Yuan-Chen Cheng | ||
ubuntu-push (Ubuntu) |
Fix Released
|
High
|
Jonas G. Drange |
Bug Description
This bug has been reproduced with Telegram (both v1 and alpha2 v2), but would affect any app that makes use of our push API.
Prerequisite:
- application is in foreground
- power button pressed, screen is off
Action:
- send a message to device
Expected:
- notification arrives (led, sound, notification visible at top after power button pressed)
Actual:
- no notification (no led, no sound, not even a persistent notification*)
* I would expect to see a notification even though the app is in foreground, but behind the lock screen.
Misc:
I have confirmed the push comes through, as the ubuntu-
https:/
phablet@
current build number: 28
device name: krillin
channel: ubuntu-
last update: 2015-10-19 07:22:32
version version: 28
version ubuntu: 20151015
version device: 20150821-736d127
version custom: 20150925-
Device: BQ Aquarius E4.5
Related branches
- Samuele Pedroni: Approve
-
Diff: 84 lines (+34/-15)2 files modifiedclient/service/postal.go (+17/-14)
client/service/postal_test.go (+17/-1)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
milestone: | none → backlog |
Changed in canonical-devices-system-image: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ubuntu-push (Ubuntu): | |
assignee: | nobody → Jonas G. Drange (jonas-drange) |
importance: | Undecided → High |
Changed in savilerow: | |
status: | New → Triaged |
assignee: | nobody → Yuan-Chen Cheng (ycheng-twn) |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
importance: | Medium → High |
Changed in ubuntu-push (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-push (Ubuntu): | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-push (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in savilerow: | |
status: | Triaged → Fix Committed |
status: | Fix Committed → Fix Released |
I just did a testing, and I did receive the notification on my MX4 device. I did the following:
1) Install the "hello" from our Ubuntu store. It is a push notification client direct. ralsina. me:8001/
2) Register an account with any name (nick) in the client
3) Open the webpage link at http://
When the app is in the foreground and press the power button, On the webpage, just send a message to your client (to the nick). Then unlock the phone again, you will see that the message comes in and it is shown there in the app.
However, the problem is that there is no indication of the LED flashing or sound for the newly received notification. I think this is a must for a messaging app. An end user should not miss the reminding of the new messages.