No notification for incoming message if device locked or telegram running in background

Bug #1535515 reported by TarotChen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Telegram app
New
Undecided
Unassigned

Bug Description

Test Environment:
$ system-image-cli -i
current build number: 40
device name: krillin
channel: ubuntu-touch/rc/bq-aquaris.en
last update: 2016-01-19 02:38:56
version version: 40
version ubuntu: 20160118
version tag: OTA-9-rc
version device: 20160108-efc96d8
version custom: 20160111-926-36--vivid

Steps:
1.Sign in telegram app
2.Press power key to lock device
3.From second phone to send messages to DUT
4.Wait several minutes and check

=>No notification/vibration after >10 minutes, but messages are received immediately if unlock device and focus back on telegram app

5.Let telegram app running in the background
6.From second phone to send messages to DUT
7.Wait several minutes and check

=>No notification/vibration after >10 minutes, but messages are received immediately if switch back on telegram app

Expected result:
Prompt notifications for incoming message while telegram app is connected

Revision history for this message
Michał Karnicki (karni) wrote :

Hi TarotChen, thank you for the bug report.

a) No notification/vibration after >10 minutes
b) but messages are received immediately if unlock device and focus back on telegram app

a) and b) have nothing in common. a) is push ontifications, b) is querying the server by the application.

Regardless, a bug was fixed in Telegram servers today related to delayed/lack of notifications. Please re-open this bug if you're still experiencing the problem from the moment I post this comment, thank you!

Changed in telegram-app:
status: New → Invalid
Revision history for this message
TarotChen (tarotchen) wrote :

Tested on OTA12 builds with arale/krillin, still cannot see the notification of telegram message while phone is locked after >10 minutes.

Changed in telegram-app:
status: Invalid → New
Revision history for this message
Borim (borim) wrote :

Hey TarotChen,

can you please verify that notifications are enabled for Telegram? I currently investigating a strange behaviour, that the notification gets sometimes disabled in the background.

Revision history for this message
TarotChen (tarotchen) wrote :

Yes, I can ensure that notifications are enabled to Telegram while testing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.